提交 514c2dd2 编写于 作者: R Rich Felker

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.
上级 ad66ae93
struct msghdr
{
void *msg_name;
int msg_namelen;
socklen_t msg_namelen;
struct iovec *msg_iov;
unsigned long msg_iovlen;
int msg_iovlen;
void *msg_control;
unsigned long msg_controllen;
unsigned msg_flags;
socklen_t msg_controllen;
int msg_flags;
};
struct cmsghdr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册