fix socket.h struct msghdr member types on powerpc

these were incorrectly copied from the kernel, whose ABI matches the
POSIX requirements but with the wrong underlying types and wrong
signedness.
This commit is contained in:
Rich Felker 2014-03-11 17:21:38 -04:00
parent ad66ae93d0
commit 514c2dd24f

View File

@ -1,12 +1,12 @@
struct msghdr struct msghdr
{ {
void *msg_name; void *msg_name;
int msg_namelen; socklen_t msg_namelen;
struct iovec *msg_iov; struct iovec *msg_iov;
unsigned long msg_iovlen; int msg_iovlen;
void *msg_control; void *msg_control;
unsigned long msg_controllen; socklen_t msg_controllen;
unsigned msg_flags; int msg_flags;
}; };
struct cmsghdr struct cmsghdr