From 77ca5b1d0863b1aabb7c01d8b2c014b2585f1c0a Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason Date: Fri, 12 Jun 2020 03:23:23 +0000 Subject: [PATCH] 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 Signed-off-by: Michael Kerrisk --- 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(-) diff --git a/man2/clone.2 b/man2/clone.2 index 895278321..783e4072c 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -50,7 +50,7 @@ clone, __clone2, clone3 \- create a child process .B #include .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 diff --git a/man2/execve.2 b/man2/execve.2 index 72c3ff69b..295a31399 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -40,7 +40,7 @@ execve \- execute program .SH SYNOPSIS .B #include .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 diff --git a/man2/ioctl_ns.2 b/man2/ioctl_ns.2 index e1939e2f5..b40180d08 100644 --- a/man2/ioctl_ns.2 +++ b/man2/ioctl_ns.2 @@ -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 diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 3dea4266c..93e03071f 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -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: diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index a8bca9e36..b9d4eb05c 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -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 diff --git a/man2/poll.2 b/man2/poll.2 index e2a6c637b..73a206e75 100644 --- a/man2/poll.2 +++ b/man2/poll.2 @@ -40,7 +40,7 @@ poll, ppoll \- wait for some event on a file descriptor .B #include .B #include .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 diff --git a/man2/prctl.2 b/man2/prctl.2 index a8ddf98cc..7e03dcc53 100644 --- a/man2/prctl.2 +++ b/man2/prctl.2 @@ -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 diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 82e7ec0d9..9e0794de5 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -109,7 +109,7 @@ ptrace \- process trace .nf .B #include .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 diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index 12e80458d..90b68cdcd 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -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 diff --git a/man2/shmop.2 b/man2/shmop.2 index 3495d1a7b..322100011 100644 --- a/man2/shmop.2 +++ b/man2/shmop.2 @@ -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 diff --git a/man2/sigaction.2 b/man2/sigaction.2 index edae16e0c..294a96b63 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.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. diff --git a/man2/sigreturn.2 b/man2/sigreturn.2 index 690c34efb..c4f49b9d7 100644 --- a/man2/sigreturn.2 +++ b/man2/sigreturn.2 @@ -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 () diff --git a/man2/sigwaitinfo.2 b/man2/sigwaitinfo.2 index 4aa311ab9..503c7d679 100644 --- a/man2/sigwaitinfo.2 +++ b/man2/sigwaitinfo.2 @@ -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 diff --git a/man2/syslog.2 b/man2/syslog.2 index 99d4ff854..c6479e6de 100644 --- a/man2/syslog.2 +++ b/man2/syslog.2 @@ -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).