1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2013-09-18 19:51:28 +02:00
parent 3166413eef
commit 8961a99280

View file

@ -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