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:
parent
cf4da485e6
commit
c3b09c7242
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue