forked from Bananymous/banan-os
LibC: Define PF_* macros on sys/socket.h
This commit is contained in:
parent
d7eb321d58
commit
1138165308
|
@ -107,6 +107,11 @@ struct linger
|
||||||
#define AF_INET6 2
|
#define AF_INET6 2
|
||||||
#define AF_UNIX 3
|
#define AF_UNIX 3
|
||||||
|
|
||||||
|
#define PF_UNSPEC AF_UNSPEC
|
||||||
|
#define PF_INET AF_INET
|
||||||
|
#define PF_INET6 AF_INET6
|
||||||
|
#define PF_UNIX AF_UNIX
|
||||||
|
|
||||||
#define SHUT_RD 0x01
|
#define SHUT_RD 0x01
|
||||||
#define SHUT_WR 0x02
|
#define SHUT_WR 0x02
|
||||||
#define SHUT_RDWR (SHUT_RD | SHUT_WR)
|
#define SHUT_RDWR (SHUT_RD | SHUT_WR)
|
||||||
|
|
Loading…
Reference in New Issue