diff --git a/man2/recv.2 b/man2/recv.2 index 33265b8e0..0491880da 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -393,9 +393,9 @@ The messages are of the form: .nf struct cmsghdr { - socklen_t cmsg_len; /* data byte count, including hdr */ - int cmsg_level; /* originating protocol */ - int cmsg_type; /* protocol-specific type */ + size_t cmsg_len; /* data byte count, including hdr */ + int cmsg_level; /* originating protocol */ + int cmsg_type; /* protocol-specific type */ /* followed by unsigned char cmsg_data[]; */ }; diff --git a/man3/cmsg.3 b/man3/cmsg.3 index f1c4459dd..f97333fb8 100644 --- a/man3/cmsg.3 +++ b/man3/cmsg.3 @@ -28,9 +28,9 @@ CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR \- access ancillary data .sp .nf struct cmsghdr { - socklen_t cmsg_len; /* data byte count, including header */ - int cmsg_level; /* originating protocol */ - int cmsg_type; /* protocol-specific type */ + size_t cmsg_len; /* data byte count, including header */ + int cmsg_level; /* originating protocol */ + int cmsg_type; /* protocol-specific type */ /* followed by unsigned char cmsg_data[]; */ }; .fi