mirror of
git://git.musl-libc.org/musl
synced 2025-01-15 11:21:40 +00:00
7fee5f9606
why does mips have to be gratuitously incompatible in every possible imaginable way?
21 lines
290 B
C
21 lines
290 B
C
struct msghdr
|
|
{
|
|
void *msg_name;
|
|
socklen_t msg_namelen;
|
|
struct iovec *msg_iov;
|
|
int msg_iovlen;
|
|
void *msg_control;
|
|
socklen_t msg_controllen;
|
|
int msg_flags;
|
|
};
|
|
|
|
struct cmsghdr
|
|
{
|
|
socklen_t cmsg_len;
|
|
int cmsg_level;
|
|
int cmsg_type;
|
|
};
|
|
|
|
#define SOCK_STREAM 2
|
|
#define SOCK_DGRAM 1
|