LibC: Add and cleanup some networking structures and definitions

This commit is contained in:
2024-08-22 14:30:00 +03:00
parent 45b4b33a3d
commit 1cbba113fd
3 changed files with 10 additions and 4 deletions

View File

@@ -28,6 +28,9 @@ __BEGIN_DECLS
#define NI_NUMERICSCOPE 0x10
#define NI_DGRAM 0x20
#define NI_MAXHOST 1025
#define NI_MAXSERV 32
#define EAI_AGAIN 1
#define EAI_BADFLAGS 2
#define EAI_FAIL 3
@@ -107,6 +110,8 @@ void setnetent(int stayopen);
void setprotoent(int stayopen);
void setservent(int stayopen);
extern int h_errno;
__END_DECLS
#endif