Skip to content

Commit

Permalink
abis/linux: fix ABI of msghdr
Browse files Browse the repository at this point in the history
  • Loading branch information
64 committed Jul 8, 2022
1 parent 5a84b62 commit a87be17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions abis/linux/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ typedef unsigned short sa_family_t;

struct msghdr {
void *msg_name;
int msg_namelen;
socklen_t msg_namelen;
struct iovec *msg_iov;
size_t msg_iovlen;
size_t msg_iovlen; /* int in POSIX */
void *msg_control;
size_t msg_controllen;
size_t msg_controllen; /* socklen_t in POSIX */
int msg_flags;
};

Expand Down

0 comments on commit a87be17

Please sign in to comment.