mirror of https://github.com/mkerrisk/man-pages
recv.2, cmsg.3: Note that cmsg_len is typed as socklen_t in POSIX.1
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4ecc4f795f
commit
1893b64807
|
@ -393,7 +393,8 @@ The messages are of the form:
|
|||
.nf
|
||||
|
||||
struct cmsghdr {
|
||||
size_t cmsg_len; /* Data byte count, including header */
|
||||
size_t cmsg_len; /* Data byte count, including header
|
||||
(type is socklen_t in POSIX) */
|
||||
int cmsg_level; /* Originating protocol */
|
||||
int cmsg_type; /* Protocol-specific type */
|
||||
/* followed by
|
||||
|
|
|
@ -28,7 +28,8 @@ CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR \- access ancillary data
|
|||
.sp
|
||||
.nf
|
||||
struct cmsghdr {
|
||||
size_t cmsg_len; /* Data byte count, including header */
|
||||
size_t cmsg_len; /* Data byte count, including header
|
||||
(type is socklen_t in POSIX) */
|
||||
int cmsg_level; /* Originating protocol */
|
||||
int cmsg_type; /* Protocol-specific type */
|
||||
/* followed by
|
||||
|
|
Loading…
Reference in New Issue