freebsd-dev/include
Konstantin Belousov 9d79ec20fb Slightly modernize realpath(3).
SUSv4 requires that implementation returns EINVAL if supplied path is NULL,
and ENOENT if path is empty string [1].
Bring prototype in conformance with SUSv4, adding restrict keywords.
Allow the resolved path buffer pointer be NULL, in which case realpath(3)
allocates storage with malloc().

PR:	kern/121897 [1]
MFC after:	2 weeks
2010-04-20 10:16:44 +00:00
..
arpa Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
gssapi Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This 2008-08-06 14:02:05 +00:00
protocols Remove clause 3 from Berkeley copyrights. Add a few $FreeBSD$'s. 2010-02-16 19:46:46 +00:00
rpc Re-do r192913 in less intrusive way. Only do IP_RECVDSTADDR/IP_SENDSRCADDR 2009-06-18 17:10:43 +00:00
rpcsvc
_ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
a.out.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
assert.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
bitstring.h
complex.h Implement cproj{,f,l}(). 2008-08-07 15:07:48 +00:00
cpio.h
ctype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
db.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dirent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
dlfcn.h - Remove const'ness from dlerror(3) prototype, for consistency with POSIX. 2010-03-24 15:59:51 +00:00
elf-hints.h
elf.h Remove some OpenSolaris compatibility stuff now that we're doing it a 2007-11-28 22:09:12 +00:00
err.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fmtmsg.h
fnmatch.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fstab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
fts.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ftw.h
getopt.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
glob.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
grp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
gssapi.h
hesiod.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
histedit.h Use tabs after #define. 2007-06-11 06:25:19 +00:00
ieeefp.h
ifaddrs.h
inttypes.h Be like stdlib.h and bring in a wchar_t definition and use it to prototype 2010-03-31 02:12:24 +00:00
iso646.h
kenv.h
langinfo.h Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's. 2009-10-05 07:11:19 +00:00
libgen.h Add basename_r(3) to complement basename(3). basename_r(3) which accepts 2009-10-06 14:05:57 +00:00
limits.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
link.h
locale.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
Makefile Trim down libcompat by removing <regexp.h>. 2010-03-14 10:18:58 +00:00
malloc_np.h
malloc.h
memory.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
monetary.h
mpool.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
mqueue.h
ndbm.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
netconfig.h
netdb.h Add capability to use a db version of services. It is enabled by 2010-04-04 08:31:03 +00:00
nl_types.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
nlist.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
nss.h
nsswitch.h Add capability to use a db version of services. It is enabled by 2010-04-04 08:31:03 +00:00
paths.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
printf.h
proc_service.h
pthread_np.h Add cpu affinity APIs to get and set thread's cpu affinity mask, the 2008-03-03 08:28:13 +00:00
pthread.h Fix the visibility of several prototypes. Also move pthread_kill() and 2009-03-14 20:10:14 +00:00
pwd.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ranlib.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
readpassphrase.h Define the size_t type since readpassphrase(3) requires it in its 2008-05-08 23:57:29 +00:00
regex.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
res_update.h Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
resolv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
runetype.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
search.h
semaphore.h Use umtx to implement process sharable semaphore, to make this work, 2010-01-05 02:37:59 +00:00
setjmp.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
signal.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
spawn.h Remove __restrict keywords from array arguments to make GCC's -std=c99 work. 2008-06-19 07:30:32 +00:00
stab.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdbool.h
stddef.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdio.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stdlib.h Slightly modernize realpath(3). 2010-04-20 10:16:44 +00:00
string.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
stringlist.h
strings.h This should read #if __BSD_VISIBLE instead of #ifdef __BSD_VISIBLE. 2010-01-04 18:46:54 +00:00
sysexits.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
tar.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
termios.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
tgmath.h
time.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timeconv.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
timers.h
ttyent.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
ulimit.h
unistd.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
utime.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
utmpx.h Implement <utmpx.h>. 2010-01-13 17:29:55 +00:00
uuid.h Add missing prototypes for uuid_enc,dec_le,be() functions. 2008-09-15 23:47:19 +00:00
varargs.h
vis.h Remove the Berkeley clause 3's. 2010-02-16 19:39:50 +00:00
wchar.h Remove NetBSD Foundation clauses 3 & 4. They eliminated those clauses 2010-02-16 19:28:10 +00:00
wctype.h Back out iswascii change from prev. commit, iswascii was right, 2007-10-14 10:23:54 +00:00
wordexp.h