man2/*: srcfix: trim trailing space
PATCH 1/1 man2/*: srcfix: trim trailing space
Remove superfluous space at the end of a processed input line.
There is no change in the output from "nroff" and "groff".
Signed-off-by Bjarni Ingi Gislason <[email protected]>
--- man2/clone.2 | 6 +++--- man2/execve.2 | 2 +- man2/ioctl_ns.2 | 2 +- man2/keyctl.2 | 2 +- man2/perf_event_open.2 | 2 +- man2/poll.2 | 2 +- man2/prctl.2 | 2 +- man2/ptrace.2 | 2 +- man2/recvmmsg.2 | 2 +- man2/shmop.2 | 2 +- man2/sigaction.2 | 4 ++-- man2/sigreturn.2 | 2 +- man2/sigwaitinfo.2 | 2 +- man2/syslog.2 | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-)
man2/clone.2 +3 -3
@@ -50,7 +50,7 @@ clone, __clone2, clone3 \- create a child process .B #include <sched.h> .PP .BI "int clone(int (*" "fn" ")(void *), void *" stack \ -", int " flags ", void *" "arg" ", ... " +", int " flags ", void *" "arg" ", ..." .BI " /* pid_t *" parent_tid ", void *" tls \ ", pid_t *" child_tid " */ );" .PP
@@ -1682,9 +1682,9 @@ On ia64, a different interface is used: .PP .in +4 .EX -.BI "int __clone2(int (*" "fn" ")(void *), " +.BI "int __clone2(int (*" "fn" ")(void *)," .BI " void *" stack_base ", size_t " stack_size , -.BI " int " flags ", void *" "arg" ", ... " +.BI " int " flags ", void *" "arg" ", ..." .BI " /* pid_t *" parent_tid ", struct user_desc *" tls , .BI " pid_t *" child_tid " */ );" .EE
man2/execve.2 +1 -1
@@ -40,7 +40,7 @@ execve \- execute program .SH SYNOPSIS .B #include <unistd.h> .PP -.BI "int execve(const char *" pathname ", char *const " argv "[], " +.BI "int execve(const char *" pathname ", char *const " argv [], .br .BI " char *const " envp []); .SH DESCRIPTION
man2/ioctl_ns.2 +1 -1
@@ -215,7 +215,7 @@ $ \fBunshare \-Uu sleep 1000 &\fP [1] 23235 $ \fB./ns_show /proc/23235/ns/uts u\fP Device/Inode of owning user namespace is: [0,3] / 4026532448 -$ \fBreadlink /proc/23235/ns/user \fP +$ \fBreadlink /proc/23235/ns/user\fP user:[4026532448] .EE .in
man2/keyctl.2 +1 -1
@@ -2009,7 +2009,7 @@ we can see the command-line arguments supplied to our example program: .PP .in +4n .EX -$ \fBcat /tmp/key_instantiate.log \fP +$ \fBcat /tmp/key_instantiate.log\fP Time: Mon Nov 7 13:06:47 2016 Command line arguments:
man2/perf_event_open.2 +1 -1
@@ -2275,7 +2275,7 @@ is enabled, then the user CPU registers are recorded. The .I abi field is one of -.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or " +.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or" .BR PERF_SAMPLE_REGS_ABI_64 . .IP The
man2/poll.2 +1 -1
@@ -40,7 +40,7 @@ poll, ppoll \- wait for some event on a file descriptor .B #include <signal.h> .B #include <poll.h> .PP -.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds ", " +.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds , .BI " const struct timespec *" tmo_p ", const sigset_t *" sigmask ); .fi .SH DESCRIPTION
man2/prctl.2 +1 -1
@@ -784,7 +784,7 @@ option enabled. .RE .\" prctl PR_MPX_ENABLE_MANAGEMENT .TP -.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86) " +.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86)" .\" commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c .\" See also http://lwn.net/Articles/582712/ .\" See also https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compiler
man2/ptrace.2 +1 -1
@@ -109,7 +109,7 @@ ptrace \- process trace .nf .B #include <sys/ptrace.h> .PP -.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid ", " +.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid , .BI " void *" addr ", void *" data ); .fi .SH DESCRIPTION
man2/recvmmsg.2 +1 -1
@@ -203,7 +203,7 @@ containing a random number: .PP .in +4n .EX -.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234; " +.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234;" .B " sleep 0.25; done" .EE .in
man2/shmop.2 +1 -1
@@ -304,7 +304,7 @@ and then waits for the semaphore to change value. .PP .in +4n .EX -$ \fB./svshm_string_read \fP +$ \fB./svshm_string_read\fP shmid = 1114194; semid = 15 .EE .in
man2/sigaction.2 +2 -2
@@ -168,7 +168,7 @@ is .BR SIGCHLD , do not receive notification when child processes stop (i.e., when they receive one of -.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN ", " +.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN , or .BR SIGTTOU ) or resume (i.e., they receive
@@ -849,7 +849,7 @@ points to memory which is not a valid part of the process address space. An invalid signal was specified. This will also be generated if an attempt is made to change the action for -.BR SIGKILL " or " SIGSTOP ", " +.BR SIGKILL " or " SIGSTOP , which cannot be caught or ignored. .SH CONFORMING TO POSIX.1-2001, POSIX.1-2008, SVr4.
man2/sigreturn.2 +1 -1
@@ -54,7 +54,7 @@ This .BR sigreturn () call undoes everything that was done\(emchanging the process's signal mask, switching signal stacks (see -.BR sigaltstack "(2))\(emin " +.BR sigaltstack "(2))\(emin" order to invoke the signal handler. Using the information that was earlier saved on the user-space stack .BR sigreturn ()
man2/sigwaitinfo.2 +1 -1
@@ -32,7 +32,7 @@ for queued signals .PP .BI "int sigwaitinfo(const sigset_t *" set ", siginfo_t *" info ");" .PP -.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info ", " +.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info , .BI " const struct timespec *" timeout ");" .fi .PP
man2/syslog.2 +1 -1
@@ -254,7 +254,7 @@ be printed to the console. The default value for this field is .B DEFAULT_CONSOLE_LOGLEVEL (7), but it is set to -4 if the kernel command line contains the word "quiet", \" since Linux 2.4 +4 if the kernel command line contains the word "quiet",\" since Linux 2.4 10 if the kernel command line contains the word "debug", and to 15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).
Signature · 1 line
2.26.2
Hello Bjarni,
Quoted 3 lines · Bjarni Ingi Gislason
Remove superfluous space at the end of a processed input line.
There is no change in the output from "nroff" and "groff".
Thanks, patch applied.
Cheers,
Michael
Quoted 222 lines
Signed-off-by Bjarni Ingi Gislason <[email protected]>--- man2/clone.2 | 6 +++--- man2/execve.2 | 2 +- man2/ioctl_ns.2 | 2 +- man2/keyctl.2 | 2 +- man2/perf_event_open.2 | 2 +- man2/poll.2 | 2 +- man2/prctl.2 | 2 +- man2/ptrace.2 | 2 +- man2/recvmmsg.2 | 2 +- man2/shmop.2 | 2 +- man2/sigaction.2 | 4 ++-- man2/sigreturn.2 | 2 +- man2/sigwaitinfo.2 | 2 +- man2/syslog.2 | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-)man2/clone.2 +3
-3@@ -50,7 +50,7 @@ clone, __clone2, clone3 \- create a child process .B #include <sched.h> .PP .BI "int clone(int (*" "fn" ")(void *), void *" stack \ -", int " flags ", void *" "arg" ", ... " +", int " flags ", void *" "arg" ", ..." .BI " /* pid_t *" parent_tid ", void *" tls \ ", pid_t *" child_tid " */ );" .PP@@ -1682,9 +1682,9 @@ On ia64, a different interface is used: .PP .in +4 .EX -.BI "int __clone2(int (*" "fn" ")(void *), " +.BI "int __clone2(int (*" "fn" ")(void *)," .BI " void *" stack_base ", size_t " stack_size , -.BI " int " flags ", void *" "arg" ", ... " +.BI " int " flags ", void *" "arg" ", ..." .BI " /* pid_t *" parent_tid ", struct user_desc *" tls , .BI " pid_t *" child_tid " */ );" .EEman2/execve.2 +1
-1@@ -40,7 +40,7 @@ execve \- execute program .SH SYNOPSIS .B #include <unistd.h> .PP -.BI "int execve(const char *" pathname ", char *const " argv "[], " +.BI "int execve(const char *" pathname ", char *const " argv [], .br .BI " char *const " envp []); .SH DESCRIPTIONman2/ioctl_ns.2 +1
-1@@ -215,7 +215,7 @@ $ \fBunshare \-Uu sleep 1000 &\fP [1] 23235 $ \fB./ns_show /proc/23235/ns/uts u\fP Device/Inode of owning user namespace is: [0,3] / 4026532448 -$ \fBreadlink /proc/23235/ns/user \fP +$ \fBreadlink /proc/23235/ns/user\fP user:[4026532448] .EE .inman2/keyctl.2 +1
-1@@ -2009,7 +2009,7 @@ we can see the command-line arguments supplied to our example program: .PP .in +4n .EX -$ \fBcat /tmp/key_instantiate.log \fP +$ \fBcat /tmp/key_instantiate.log\fP Time: Mon Nov 7 13:06:47 2016 Command line arguments:man2/perf_event_open.2 +1
-1@@ -2275,7 +2275,7 @@ is enabled, then the user CPU registers are recorded. The .I abi field is one of -.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or " +.BR PERF_SAMPLE_REGS_ABI_NONE ", " PERF_SAMPLE_REGS_ABI_32 " or" .BR PERF_SAMPLE_REGS_ABI_64 . .IP Theman2/poll.2 +1
-1@@ -40,7 +40,7 @@ poll, ppoll \- wait for some event on a file descriptor .B #include <signal.h> .B #include <poll.h> .PP -.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds ", " +.BI "int ppoll(struct pollfd *" fds ", nfds_t " nfds , .BI " const struct timespec *" tmo_p ", const sigset_t *" sigmask ); .fi .SH DESCRIPTIONman2/prctl.2 +1
-1@@ -784,7 +784,7 @@ option enabled. .RE .\" prctl PR_MPX_ENABLE_MANAGEMENT .TP -.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86) " +.BR PR_MPX_ENABLE_MANAGEMENT ", " PR_MPX_DISABLE_MANAGEMENT " (since Linux 3.19, removed in Linux 5.4; only on x86)" .\" commit fe3d197f84319d3bce379a9c0dc17b1f48ad358c .\" See also http://lwn.net/Articles/582712/ .\" See also https://gcc.gnu.org/wiki/Intel%20MPX%20support%20in%20the%20GCC%20compilerman2/ptrace.2 +1
-1@@ -109,7 +109,7 @@ ptrace \- process trace .nf .B #include <sys/ptrace.h> .PP -.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid ", " +.BI "long ptrace(enum __ptrace_request " request ", pid_t " pid , .BI " void *" addr ", void *" data ); .fi .SH DESCRIPTIONman2/recvmmsg.2 +1
-1@@ -203,7 +203,7 @@ containing a random number: .PP .in +4n .EX -.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234; " +.RB "$" " while true; do echo $RANDOM > /dev/udp/127.0.0.1/1234;" .B " sleep 0.25; done" .EE .inman2/shmop.2 +1
-1@@ -304,7 +304,7 @@ and then waits for the semaphore to change value. .PP .in +4n .EX -$ \fB./svshm_string_read \fP +$ \fB./svshm_string_read\fP shmid = 1114194; semid = 15 .EE .inman2/sigaction.2 +2
-2@@ -168,7 +168,7 @@ is .BR SIGCHLD , do not receive notification when child processes stop (i.e., when they receive one of -.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN ", " +.BR SIGSTOP ", " SIGTSTP ", " SIGTTIN , or .BR SIGTTOU ) or resume (i.e., they receive@@ -849,7 +849,7 @@ points to memory which is not a valid part of the process address space. An invalid signal was specified. This will also be generated if an attempt is made to change the action for -.BR SIGKILL " or " SIGSTOP ", " +.BR SIGKILL " or " SIGSTOP , which cannot be caught or ignored. .SH CONFORMING TO POSIX.1-2001, POSIX.1-2008, SVr4.man2/sigreturn.2 +1
-1@@ -54,7 +54,7 @@ This .BR sigreturn () call undoes everything that was done\(emchanging the process's signal mask, switching signal stacks (see -.BR sigaltstack "(2))\(emin " +.BR sigaltstack "(2))\(emin" order to invoke the signal handler. Using the information that was earlier saved on the user-space stack .BR sigreturn ()man2/sigwaitinfo.2 +1
-1@@ -32,7 +32,7 @@ for queued signals .PP .BI "int sigwaitinfo(const sigset_t *" set ", siginfo_t *" info ");" .PP -.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info ", " +.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info , .BI " const struct timespec *" timeout ");" .fi .PPman2/syslog.2 +1
-1@@ -254,7 +254,7 @@ be printed to the console. The default value for this field is .B DEFAULT_CONSOLE_LOGLEVEL (7), but it is set to -4 if the kernel command line contains the word "quiet", \" since Linux 2.4 +4 if the kernel command line contains the word "quiet",\" since Linux 2.4 10 if the kernel command line contains the word "debug", and to 15 in case of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/