mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add AF_LOCAL and PF_LOCAL.
This commit is contained in:
parent
3166413eef
commit
8961a99280
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ struct linger
|
|||
#define PF_INET6 AF_INET6
|
||||
#define PF_UNIX AF_UNIX
|
||||
|
||||
#define AF_LOCAL AF_UNIX
|
||||
#define PF_LOCAL PF_UNIX
|
||||
|
||||
/* TODO: Nicely wrap this in an enum, as in glibc's header? */
|
||||
/* TODO: Should SHUT_RDWR = SHUT_RD | SHUT_WR? */
|
||||
#define SHUT_RD 0
|
||||
|
|
Loading…
Reference in a new issue