mirror of https://github.com/mkerrisk/man-pages
Removed trailing white space at end of lines
This commit is contained in:
parent
1f809f8c95
commit
9f1b972601
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue