diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-19 05:53:30 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-19 05:53:30 +0000 |
| commit | a08ea57c202088519f95dfa510434668adc3803f (patch) | |
| tree | 2444cf9a408bbf6449fff630e86ede0b21af0ded /man3/cmsg.3 | |
| parent | 8a35999094a6c7f5125fb9d0f87704d0e029dc7a (diff) | |
| download | man-pages-a08ea57c202088519f95dfa510434668adc3803f.tar.gz | |
Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
Diffstat (limited to 'man3/cmsg.3')
| -rw-r--r-- | man3/cmsg.3 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/man3/cmsg.3 b/man3/cmsg.3 index 039efa36a8..ccf8c54856 100644 --- a/man3/cmsg.3 +++ b/man3/cmsg.3 @@ -160,7 +160,7 @@ This code looks for the .B IP_TTL option in a received ancillary buffer: .PP -.RS +.RS 4 .nf struct msghdr msgh; struct cmsghdr *cmsg; @@ -190,9 +190,8 @@ if (cmsg == NULL) { The code below passes an array of file descriptors over a Unix socket using .BR SCM_RIGHTS : .PP -.RS +.RS 4 .nf -.ta 8n 16n 32n struct msghdr msg = {0}; struct cmsghdr *cmsg; int myfds[NUM_FD]; /* Contains the file descriptors to pass. */ @@ -210,7 +209,6 @@ fdptr = (int *) CMSG_DATA(cmsg); memcpy(fdptr, myfds, NUM_FD * sizeof(int)); /* Sum of the length of all control messages in the buffer: */ msg.msg_controllen = cmsg\->cmsg_len; -.ta .fi .RE .SH "SEE ALSO" |
