1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibC: Add h_errno and stub out getservbyname()

This commit is contained in:
Andreas Kling 2020-02-20 06:58:16 +01:00
parent cf4da485e6
commit c3b09c7242
2 changed files with 16 additions and 0 deletions

View file

@ -52,4 +52,11 @@ struct servent {
struct servent* getservbyname(const char* name, const char* protocol);
extern int h_errno;
#define HOST_NOT_FOUND 101
#define NO_DATA 102
#define NO_RECOVERY 103
#define TRY_AGAIN 104
__END_DECLS