haiku/headers
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
..
build libroot_build & fs_shell: Provide _kern_ functions for readv/writev... 2023-02-14 00:49:52 -05:00
compatibility sys/uio: Add preadv/pwritev. 2023-02-24 16:31:51 +00:00
config riscv: cleanup architecture macro checks 2021-09-01 18:04:59 +00:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs Removed 'register' storage class compiler warnings 2022-09-12 14:03:28 +00:00
os BMenuField: allow to use non-fixed size in combination with layout mode 2023-02-21 10:47:46 +00:00
posix Rewrite <netdb.h> and drop a lot of non-standard stuff. 2023-02-27 22:51:17 -05:00
private WeakReferenceable: Clear fUseCount when it is 1. 2023-01-31 22:36:59 -05:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00