mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +00:00
Added definition of sockaddr_un_bsd
This commit is contained in:
parent
100e219181
commit
cd22936712
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,12 @@ struct msghdr_bsd {
|
||||||
uint32_t msg_flags; /* « different type */
|
uint32_t msg_flags; /* « different type */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct sockaddr_un_bsd {
|
||||||
|
uint8_t sun_len; /* sockaddr len including NUL on freebsd but excluding it on openbsd/xnu */
|
||||||
|
uint8_t sun_family;
|
||||||
|
char sun_path[14];
|
||||||
|
};
|
||||||
|
|
||||||
struct SockFd {
|
struct SockFd {
|
||||||
int family;
|
int family;
|
||||||
int type;
|
int type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue