haiku/headers/posix
Augustin Cavalier 79bc16ba6e Rewrite <netdb.h> and drop a lot of non-standard stuff.
While the BSDs and glibc seem to have various _r functions,
they all return int for errors instead of a pointer, making ours
exactly backwards of theirs for error reporting and thus useless.
So, remove them from the header entirely. They are left in
for ABI backwards compatibility for the time being.

A few constants not used by anything in the tree (i.e. not actually
implemented by libnetwork/netresolv) were also dropped. Some deprecated
or non-standard functions were placed behind _DEFAULT_SOURCE or deleted
entirely.

The header itself is now organized approximately as the BSDs do,
although with various Haiku-isms instead of BSD-isms where appropriate.
2023-02-27 22:51:17 -05:00
..
arch
arpa
compat/sys
net net/if: Drop ifmediareq and just use the regular ifreq for SIOCGIFMEDIA. 2022-06-13 22:31:33 -04:00
netinet
netinet6
sys
alloca.h
assert.h
complex.h
ctype.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
dirent.h
div_t.h
dlfcn.h
endian.h
errno.h
fcntl.h
fenv.h
fnmatch.h
ftw.h libroot: Replace ftw/nftw implemenations with their musl counterparts. 2022-06-09 16:24:11 -04:00
getopt.h
glob.h
grp.h
inttypes.h
iovec.h
langinfo.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
libgen.h
libio.h
limits.h Added missing posixoptions and sysconf constants according POSIX.1-2017 standard 2022-12-23 01:57:05 +00:00
locale_t.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
locale.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
malloc_debug.h
malloc.h
math.h
memory.h
monetary.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
netdb.h Rewrite <netdb.h> and drop a lot of non-standard stuff. 2023-02-27 22:51:17 -05:00
nl_types.h
null.h
poll.h
pthread.h Added missing posixoptions and sysconf constants according POSIX.1-2017 standard 2022-12-23 01:57:05 +00:00
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h POSIX: introduce sem_clockwait 2022-02-18 21:27:06 +00:00
setjmp.h
shadow.h
signal.h
size_t.h
spawn.h
stdint.h stdint.h: fix definition of UINT8_MAX, UINT16_MAX, UINT8_C and UINT16_C 2022-11-08 16:11:40 +00:00
stdio_ext.h
stdio_post.h
stdio_pre.h
stdio.h
stdlib.h
string.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
strings.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
syslog.h
tar.h
termios.h
threads.h libroot: Add support for C11 Threads missing parts (except gcc2). 2022-09-19 19:45:45 +00:00
time.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
uchar.h
unistd.h Added missing posixoptions and sysconf constants according POSIX.1-2017 standard 2022-12-23 01:57:05 +00:00
utime.h
utmpx.h
wchar_t.h
wchar.h POSIX: wchar.h and wctype.h don't need the locale.h but locale_t.h 2022-11-02 14:09:08 +00:00
wctype.h POSIX: wchar.h and wctype.h don't need the locale.h but locale_t.h 2022-11-02 14:09:08 +00:00