LibC: Add and cleanup some networking structures and definitions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user