NetBSD/include
kamil 6245abaafa Import wcsnlen(3) to libc
The wcsnlen(3) function conforms to POSIX.1-2008 and is an addition to the
ISO C standard.

size_t wcsnlen(const wchar_t *s, size_t maxlen);

The wcsnlen(3) function computes the number of wide-characters in a wide-
-string to which s points, not including NULL terminating wide-character
code and checking no more than maxlen wide-characters. This function never
examines wide-characters beyond a wide-string of maxlen size.


This function is a safer version of wcslen(3):

size_t wcslen(const wchar_t *s);


Update STANDARDS section of wmemchr(3) describing wide-character functions.
2016-10-15 14:21:59 +00:00
..
arpa belated removal of the advertising clause. 2015-02-24 17:56:20 +00:00
protocols Erm, fix previous. 2016-01-22 23:13:20 +00:00
rpc Needs sys/select.h for fd_set; fails only when _POSIX_SOURCE is defined, 2016-01-23 02:36:57 +00:00
rpcsvc Uses BEGIN_DECLS and needs sys/cdefs.h. 2016-01-22 23:23:13 +00:00
ssp correct __ssp_overlap() to not trigger for adjacent areas 2015-09-03 20:43:47 +00:00
Makefile Import <stdalign.h> 2016-10-02 17:19:00 +00:00
a.out.h
aio.h
ar.h
assert.h Add static_assert macro definition in <assert.h> 2016-10-03 12:08:39 +00:00
atomic.h
bitstring.h more casting fixes 2016-03-17 02:25:32 +00:00
bm.h Needs stddef.h for size_t. 2016-01-22 22:27:01 +00:00
cdbw.h
complex.h
cpio.h
ctype.h
db.h sync with mit/kerberos db 2016-09-24 20:11:43 +00:00
dirent.h
disktab.h
dlfcn.h
err.h
errno.h
fenv.h add sh 2016-08-25 12:12:59 +00:00
fmtmsg.h
fnmatch.h
fstab.h
fts.h
ftw.h
getopt.h
glob.h
grp.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h Add ifa_addrflags to ifaddrs (forgot to commit this file, thanks Ryo!) 2016-09-21 13:32:27 +00:00
inttypes.h strtoi and strtou additions 2015-01-16 18:35:59 +00:00
iso646.h
kvm.h u_char, u_int, u_long -> unsigned char, unsigned, unsigned long 2016-01-22 21:55:57 +00:00
langinfo.h
libgen.h
limits.h Realtime signal support from GSoC 2016, Charles Cui. 2016-08-04 06:43:43 +00:00
link.h
link_aout.h Apparently a recent round of vandalism by the C++ standards committee 2016-01-23 01:26:14 +00:00
link_elf.h
locale.h Go back to just using normal visibility for the locale symbols. Without 2016-04-29 16:26:48 +00:00
login_cap.h Apparently a recent round of vandalism by the C++ standards committee 2016-01-23 01:26:14 +00:00
lwp.h
malloc.h
math.h
md2.h define block length 2016-07-01 16:42:46 +00:00
memory.h
mntopts.h Add relatime. 2016-02-21 22:45:25 +00:00
monetary.h
mpool.h remove mpool_getf 2016-09-24 21:18:09 +00:00
mqueue.h
ndbm.h
netconfig.h
netdb.h
netgroup.h
nl_types.h
nlist.h
nsswitch.h Apparently a recent round of vandalism by the C++ standards committee 2016-01-23 01:26:14 +00:00
paths.h Add missing PATH_WATCHDOG (to complement PATH_SYSMON and PATH_POWER) 2015-05-06 23:06:26 +00:00
pwd.h
quota.h
randomid.h Needs stdint.h. 2016-01-22 23:15:42 +00:00
ranlib.h
re_comp.h
regex.h rename to regnsub 2016-01-14 21:45:18 +00:00
regexp.h
res_update.h
resolv.h
rmt.h Needs sys/types.h for mode_t, off_t, ssize_t, and others. 2016-01-22 23:15:58 +00:00
sched.h
search.h
semaphore.h Define SEM_VALUE_MAX in only one place. 2016-04-24 19:48:29 +00:00
setjmp.h
sgtty.h
signal.h Do as POSIX says, define the timespec structure in <signal.h> 2015-07-31 12:51:32 +00:00
spawn.h
stab.h
stdalign.h Import <stdalign.h> 2016-10-02 17:19:00 +00:00
stddef.h use foo - 0 instead of testing for defined(foo); from joerg@ 2016-03-20 16:26:06 +00:00
stdio.h gcc 5, my patience is waning. 2016-03-17 00:42:49 +00:00
stdlib.h add hmac(3) 2016-07-01 22:42:01 +00:00
stdnoreturn.h Import <stdnoreturn.h> 2016-10-02 13:09:24 +00:00
string.h add strchrnull 2016-10-12 20:01:22 +00:00
stringlist.h
strings.h
struct.h
sysexits.h
tar.h
tgmath.h
time.h Add timespec_get(3) in <time.h> and enable unconditionally struct timespec 2016-10-04 09:41:40 +00:00
ttyent.h
tzfile.h updatre with latest from tzcode. 2015-07-11 16:40:53 +00:00
ucontext.h Revert 2015-11-19 20:57:49 +00:00
ulimit.h
unistd.h PR 51287 Ralf Nolden: posix_fallocate belongs in <fcntl.h> 2016-06-30 15:29:20 +00:00
util.h Implement pidfile_lock, pidfile_read and pidfile_clean. 2016-04-10 19:05:50 +00:00
utime.h
utmp.h Needs sys/cdefs.h for __BEGIN_DECLS. Also add time.h to get time_t, 2016-01-22 23:59:44 +00:00
utmpx.h
uuid.h
vis.h add stravis 2016-01-14 20:42:14 +00:00
wchar.h Import wcsnlen(3) to libc 2016-10-15 14:21:59 +00:00
wctype.h
wordexp.h