NetBSD/include
dholland d0352e761c Add userlevel manifestations of posix_fallocate and fdiscard, in
unistd.h and libc, and add a man page.

Allow wiggle room in the man page for implementations of fallocate
that either (a) don't fully unwind on failure, leaving new blocks
allocated without changing the file size, or (b) create only in-memory
transient reservations that disappear when crashing or rebooting.

Also, add crossreference to fdiscard from ftruncate(2), and remove the
old BUGS entry from there that called for a generalized version that
allows discarding ranges of a file: that's what fdiscard is.
2014-07-25 08:30:47 +00:00
..
arpa
protocols
rpc Always use the reentrant rpc_createerr. Otherwise every threaded program 2014-06-06 14:31:24 +00:00
rpcsvc Fix typo. 2013-01-23 17:27:35 +00:00
ssp Apparently clang pretends to be gcc 4.2 but is secretly much awesomer 2014-04-25 18:37:38 +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
bm.h
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 Enable fenv support for arm. 2013-04-28 21:07:36 +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
inttypes.h Include sys/featuretest.h before using _NETBSD_SOURCE. 2013-04-27 21:24:27 +00:00
iso646.h Do not define the C++ alternative operator names as macros. 2013-04-26 10:58:45 +00:00
kvm.h add kvm_getkernelname() 2011-09-12 21:14:29 +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 Add most system calls for POSIX extended API set, part 2, with test cases: 2012-11-18 17:41:51 +00:00
link_aout.h
link_elf.h
link.h
locale.h Too many endif. 2013-05-17 14:11:55 +00:00
login_cap.h
lwp.h __lwp_park60 2014-01-31 20:44:17 +00:00
Makefile Allow kernel code to access constant databases by moving cdbr(3) and the 2013-12-11 01:24:08 +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 Implement experimental support to pass notifications that a file 2012-10-19 17:09:06 +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
paths.h Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +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
ranlib.h
re_comp.h
regex.h
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
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
spawn.h Use C++ compatible declaration for posix_spawn (instead of the C99 specific 2012-02-22 17:51:01 +00:00
stab.h
stdbool.h Define __bool_true_false_are_defined for C++ as well. 2013-04-26 17:41:34 +00:00
stddef.h Make ptrdiff_t available in the kernel. 2013-12-12 17:53:03 +00:00
stdio.h Fix use of getline and friends in C++ code. 2014-05-23 16:48:52 +00:00
stdlib.h add mkostemp{s,} mkstemps from FreeBSD 2014-06-18 17:48:22 +00:00
string.h Publish explicit_memset and consttime_memequal in userland libc. 2013-08-28 17:47:07 +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 strftime_l is part of POSIX2008. 2013-04-21 17:54:56 +00:00
ttyent.h Systematically include sys/featuretest.h when _NETBSD_SOURCE is used. 2013-04-27 21:35:24 +00:00
tzfile.h
ucontext.h Add __returns_twice for the attribute of the same name. This makes the 2011-11-05 09:27:06 +00:00
ulimit.h
unistd.h Add userlevel manifestations of posix_fallocate and fdiscard, in 2014-07-25 08:30:47 +00:00
util.h Add getbyteorder(void) prototype. 2013-05-02 07:17:35 +00:00
utime.h
utmp.h
utmpx.h
uuid.h
vis.h More fixes from J.R. Oldroyd. We introduce a new function that can 2013-02-20 17:01:15 +00:00
wchar.h Expose properly vfwscanf and friends for POSIX_SOURCE >= 200112L 2013-11-21 09:09:52 +00:00
wctype.h Systematically include sys/featuretest.h when _NETBSD_SOURCE is used. 2013-04-27 21:35:24 +00:00
wordexp.h