NetBSD/include
leot 2a4b16ea45 strndup() is part of XSI from The Open Group Base Specification Issue 7 and had
a similar history of stpcpy(), stpncpy() and strnlen().
Make it visible under XOPEN_SOURCE>=700 too (not just _NETBSD_SOURCE).

ok dholland@
2016-03-10 18:53:48 +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
a.out.h
aio.h
ar.h
assert.h __assert and __assert13 are dead 2011-08-26 01:10:49 +00:00
atomic.h
bitstring.h add some const 2015-11-20 20:37:08 +00:00
bm.h Needs stddef.h for size_t. 2016-01-22 22:27:01 +00:00
cdbw.h Prototype for cdbw_stable_seeder. 2012-06-03 21:21:45 +00:00
complex.h Add missing long double prototypes. 2013-01-28 23:19:50 +00:00
cpio.h
ctype.h Include at least ctype_bits.h, even when not providing the macros. 2013-04-28 19:39:56 +00:00
db.h add new internal functions 2013-12-01 00:23:11 +00:00
dirent.h comments 2012-07-30 23:04:42 +00:00
disktab.h
dlfcn.h Add _dlauxinfo helper function to provide access to the ELF auxilary 2012-02-16 23:00:38 +00:00
err.h Add the {v,}{warn,err}c function flavors from FreeBSD 2014-01-16 17:22:06 +00:00
errno.h
fenv.h fix inverted condition... 2015-12-29 01:58:26 +00:00
fmtmsg.h
fnmatch.h new error. 2011-01-31 04:49:46 +00:00
fstab.h
fts.h
ftw.h
getopt.h
glob.h add globstar. 2010-09-06 14:38:56 +00:00
grp.h
hesiod.h
iconv.h
ieeefp.h finish the ieeefp.h vs fp_prec_t hack from the previous change and 2011-03-27 05:13:15 +00:00
ifaddrs.h Apparently a recent round of vandalism by the C++ standards committee 2016-01-23 01:26:14 +00:00
inttypes.h strtoi and strtou additions 2015-01-16 18:35:59 +00:00
iso646.h Do not define the C++ alternative operator names as macros. 2013-04-26 10:58:45 +00:00
kvm.h u_char, u_int, u_long -> unsigned char, unsigned, unsigned long 2016-01-22 21:55:57 +00:00
langinfo.h Add nl_langinfo_l, catopen_l and wcsftime_l. 2013-08-19 08:03:33 +00:00
libgen.h
limits.h - GC pts_fired, and fix the comment about MAX_TIMERS 2016-03-08 05:02:55 +00:00
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 Implement dl_iterate_phdr. 2010-10-16 10:27:06 +00:00
link.h
locale.h undo protected symbol hack. 2016-03-08 03:58:31 +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 __lwp_park60 2014-01-31 20:44:17 +00:00
Makefile move stdbool.h to sys, reuire pool.h to include <sys/stdbool.h> for bool, 2015-07-29 00:10:25 +00:00
malloc.h
math.h Allow archs to provide __isinf() and __isnan() as inline functions instead 2013-09-16 15:54:42 +00:00
md2.h
memory.h
mntopts.h Add relatime. 2016-02-21 22:45:25 +00:00
monetary.h
mpool.h use a TAILQ instead of a CIRCLEQ, from FreeBSD 2013-11-22 16:25:01 +00:00
mqueue.h
ndbm.h
netconfig.h
netdb.h fix gethostbyaddr prototype per TOG. 2013-08-19 07:18:42 +00:00
netgroup.h
nl_types.h Add nl_langinfo_l, catopen_l and wcsftime_l. 2013-08-19 08:03:33 +00:00
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 revert previous commit since it breaks the build on NetBSD and 2012-11-26 19:53:41 +00:00
quota.h Be consistent about whether idtype and objtype codes are signed or 2012-02-01 05:46:45 +00:00
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 use standard queue macros. 2012-11-15 18:49:37 +00:00
resolv.h add <netinet/in.h> because it is needed for sockaddr_in. 2012-11-07 15:45:24 +00:00
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 amend the new destroy function to take function pointers. 2014-07-20 20:17:21 +00:00
semaphore.h Implement sem_timedwait. 2012-03-08 21:59:24 +00:00
setjmp.h Add __returns_twice for the attribute of the same name. This makes the 2011-11-05 09:27:06 +00:00
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 Use C++ compatible declaration for posix_spawn (instead of the C99 specific 2012-02-22 17:51:01 +00:00
stab.h
stddef.h Make ptrdiff_t available in the kernel. 2013-12-12 17:53:03 +00:00
stdio.h Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace. 2015-03-24 07:44:52 +00:00
stdlib.h Add the C11 function aligned_alloc to libc. 2015-11-07 16:21:42 +00:00
string.h strndup() is part of XSI from The Open Group Base Specification Issue 7 and had 2016-03-10 18:53:48 +00:00
stringlist.h
strings.h Don't pollute the namespace with stdint.h. (This file is included from 2011-08-22 01:24:15 +00:00
struct.h
sysexits.h
tar.h
tgmath.h
time.h add tzgetgmtoff 2015-10-29 17:48:55 +00:00
ttyent.h Systematically include sys/featuretest.h when _NETBSD_SOURCE is used. 2013-04-27 21:35:24 +00:00
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 Put fseeko, ftello, pread, and pwrite in the POSIX 2001 namespace. 2015-03-24 07:44:52 +00:00
util.h add kinfo_getvmmap() decl 2015-09-24 14:39:37 +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 add open_{,w}memstream 2014-10-13 00:47:03 +00:00
wctype.h Systematically include sys/featuretest.h when _NETBSD_SOURCE is used. 2013-04-27 21:35:24 +00:00
wordexp.h