diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-01-27 21:28:25 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-01-27 21:28:25 +0100 |
commit | 9f1b9726012c0836082e90392fd1c3cfc0e05eca (patch) | |
tree | 369b6afdced56873baf15696ec648f8bb3db97aa | |
parent | 1f809f8c955c2a855bef3e16a24fe3644acba057 (diff) |
Removed trailing white space at end of lines
-rw-r--r-- | man2/clone.2 | 4 | ||||
-rw-r--r-- | man2/init_module.2 | 2 | ||||
-rw-r--r-- | man2/kcmp.2 | 4 | ||||
-rw-r--r-- | man2/ptrace.2 | 4 | ||||
-rw-r--r-- | man2/recvmmsg.2 | 26 | ||||
-rw-r--r-- | man2/setns.2 | 2 | ||||
-rw-r--r-- | man3/fpathconf.3 | 2 | ||||
-rw-r--r-- | man5/proc.5 | 4 |
8 files changed, 24 insertions, 24 deletions
diff --git a/man2/clone.2 b/man2/clone.2 index fee382f8f..9c072d193 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -1065,7 +1065,7 @@ childFunc(void *arg) /* Keep the namespace open for a while, by sleeping. This allows some experimentation\-\-for example, another process might join the namespace. */ - + sleep(200); return 0; /* Child terminates now */ @@ -1105,7 +1105,7 @@ main(int argc, char *argv[]) sleep(1); /* Give child time to change its hostname */ - /* Display hostname in parent\(aqs UTS namespace. This will be + /* Display hostname in parent\(aqs UTS namespace. This will be different from hostname in child\(aqs UTS namespace. */ if (uname(&uts) == \-1) diff --git a/man2/init_module.2 b/man2/init_module.2 index 8e5a6b2ee..09733e338 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -114,7 +114,7 @@ together zero or more of the following flags: .TP .B MODULE_INIT_IGNORE_MODVERSIONS Ignore symbol version hashes. -.TP +.TP .B MODULE_INIT_IGNORE_VERMAGIC Ignore kernel version magic. .PP diff --git a/man2/kcmp.2 b/man2/kcmp.2 index a045b548b..a57bcc616 100644 --- a/man2/kcmp.2 +++ b/man2/kcmp.2 @@ -32,7 +32,7 @@ kcmp \- compare two processes to determine if they share a kernel resource .nf .B #include <linux/kcmp.h> -.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type , +.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type , .BI " unsigned long " idx1 ", unsigned long " idx2 ); .fi @@ -66,7 +66,7 @@ refers to the same open file description (see as file descriptor .I idx2 in the process -.IR pid2 . +.IR pid2 . .TP .BR KCMP_FILES diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 060850e35..b137da3ce 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -304,8 +304,8 @@ which are specified by the following flags: .\" commit 992fb6e170639b0849bace8e49bf31bd37c4123 If a tracer sets this flag, a .B SIGKILL -signal will be sent to every tracee if the tracer exits. -This option is useful for ptrace jailers that +signal will be sent to every tracee if the tracer exits. +This option is useful for ptrace jailers that want to ensure that tracees can never escape the trcer's control. .TP diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index 266fda2a3..e348e4131 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -170,14 +170,14 @@ Support in glibc was added in version 2.12. is Linux-specific. .SH EXAMPLE .PP -The following program uses -.BR recvmmsg () +The following program uses +.BR recvmmsg () to receive multiple messages on a socket and stores -them in multiple buffers. -The call returns if all buffers are filled or if the +them in multiple buffers. +The call returns if all buffers are filled or if the timeout specified has expired. -The following snippet periodically generates UDP datagrams +The following snippet periodically generates UDP datagrams containing a random number: .in +4n .nf @@ -187,7 +187,7 @@ containing a random number: .fi .in -These datagrams are read by the example application, which +These datagrams are read by the example application, which can give the following output: .in +4n .nf @@ -205,17 +205,17 @@ can give the following output: \& .nf #define _GNU_SOURCE -#include <netinet/ip.h> +#include <netinet/ip.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> -int +int main(void) { #define VLEN 10 -#define BUFSIZE 200 +#define BUFSIZE 200 #define TIMEOUT 1 int sockfd, retval, i; struct sockaddr_in sa; @@ -230,9 +230,9 @@ main(void) exit(EXIT_FAILURE); } - sa.sin_family = AF_INET; - sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); - sa.sin_port = htons(1234); + sa.sin_family = AF_INET; + sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK); + sa.sin_port = htons(1234); if (bind(sockfd, (struct sockaddr *) &sa, sizeof(sa)) == \-1) { perror("bind()"); exit(EXIT_FAILURE); @@ -262,7 +262,7 @@ main(void) } exit(EXIT_SUCCESS); } -.fi +.fi .SH SEE ALSO .BR clock_gettime (2), .BR recvmsg (2), diff --git a/man2/setns.2 b/man2/setns.2 index 26bd9bc15..721f1a803 100644 --- a/man2/setns.2 +++ b/man2/setns.2 @@ -138,7 +138,7 @@ so that we can see that they are different. .nf .in +4n $ \fBsu\fP # Need privilege for namespace operations -Password: +Password: # \fB./newuts bizarro &\fP [1] 3549 clone() returned 3550 diff --git a/man3/fpathconf.3 b/man3/fpathconf.3 index fe6bf0c03..f2b5a454d 100644 --- a/man3/fpathconf.3 +++ b/man3/fpathconf.3 @@ -35,7 +35,7 @@ .\" _PC_ALLOC_SIZE_MIN, .\" _PC_SYMLINK_MAX, .\" _PC_2_SYMLINKS -.\" +.\" .TH FPATHCONF 3 1993-04-04 "GNU" "Linux Programmer's Manual" .SH NAME fpathconf, pathconf \- get configuration values for files diff --git a/man5/proc.5 b/man5/proc.5 index 4fef2096d..81bb3f554 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -684,7 +684,7 @@ For backwards compatibility with previous kernels, .I /proc/[pid]/oom_adj can still be used to tune the badness score. Its value is -scaled linearly with +scaled linearly with .IR oom_score_adj . Writing to @@ -2057,7 +2057,7 @@ that the system spent in various states: .TP .I nice (2) Time spent in user mode with low priority (nice) -.TP +.TP .I system (3) Time spent in system mode .TP |