summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/netdb.h
AgeCommit message (Collapse)Author
2022-05-12LibC: Add herror() and hstrerror()Michał Lach
2022-05-12LibC: Make h_errno thread-localMichał Lach
2022-04-21LibC: Make nameinfo (NI_*) constants bitfield-friendlyAndreas Kling
These are supposed to be used as flags in a bitfield, so let's make them powers of two.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-01-08LibC+LibDl: Declare functions taking no arguments as taking voidDaniel Bertalan
In C++, a function declaration with an empty parameter list means that the function takes no arguments. In C, however, it means that the function takes an unspecified number of parameters. What we did previously was therefore non-conforming. This caused a config check to fail in the curl port, as it was able to redeclare `rand` as taking an int parameter.
2021-12-05LibC: Stub out the rest of the getnameinfo flagsIdan Horowitz
These are required for the compilation of some ports.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-14LibC: Add definition for the NI_NAMEREQD macroGunnar Beutner
2021-04-12LibC: Implement getaddrinfo(), freeaddrinfo(), gai_strerror() and getnameinfo()Gunnar Beutner
2021-04-04LibC: Add NI_MAXHOST and NI_MAXSERV constantsJelle Raaijmakers
These are not POSIX-defined but are almost always present in <netdb.h>.
2021-03-27LibC: Add POSIX macros for the ai_flags field in struct addrinfoAndreas Kling
2021-02-15LibC: Stub out some addrinfo thingsAnotherTest
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling