aboutsummaryrefslogtreecommitdiffstats
path: root/man3/cmsg.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2018-07-25 10:27:41 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2018-07-25 10:27:41 +0200
commitd91b7522a2883e3c2cda72079e122d26ea09f552 (patch)
treebea5717165b2c1521c1f3a25fb976f4530e072a9 /man3/cmsg.3
parent3f796b381770b31ae16625ec0ade59990c79bf34 (diff)
downloadman-pages-d91b7522a2883e3c2cda72079e122d26ea09f552.tar.gz
cmsg.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/cmsg.3')
-rw-r--r--man3/cmsg.312
1 files changed, 4 insertions, 8 deletions
diff --git a/man3/cmsg.3 b/man3/cmsg.3
index 9b1f55e113..f9e7e17547 100644
--- a/man3/cmsg.3
+++ b/man3/cmsg.3
@@ -12,20 +12,16 @@
.SH NAME
CMSG_ALIGN, CMSG_SPACE, CMSG_NXTHDR, CMSG_FIRSTHDR \- access ancillary data
.SH SYNOPSIS
+.nf
.B #include <sys/socket.h>
-.PP
.BI "struct cmsghdr *CMSG_FIRSTHDR(struct msghdr *" msgh );
-.br
-.BI "struct cmsghdr *CMSG_NXTHDR(struct msghdr *" msgh ", struct cmsghdr *" cmsg );
-.br
+.BI "struct cmsghdr *CMSG_NXTHDR(struct msghdr *" msgh " ,
+.BR " struct cmsghdr *" cmsg );
.BI "size_t CMSG_ALIGN(size_t " length );
-.br
.BI "size_t CMSG_SPACE(size_t " length );
-.br
.BI "size_t CMSG_LEN(size_t " length );
-.br
.BI "unsigned char *CMSG_DATA(struct cmsghdr *" cmsg );
-.PP
+.fi
.SH DESCRIPTION
These macros are used to create and access control messages (also called
ancillary data) that are not a part of the socket payload.