From a1d5601beee25f6e6610f44fd5fa267230065e69 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 12 Jun 2008 11:52:08 +0000 Subject: [PATCH] Removed trailing white space at end of lines --- Changes | 6 +++--- man2/chown.2 | 2 +- man2/execve.2 | 2 +- man2/sched_setscheduler.2 | 8 ++++---- man3/dprintf.3 | 6 +++--- man5/acct.5 | 6 +++--- man5/core.5 | 10 +++++----- man5/proc.5 | 2 +- man7/symlink.7 | 6 +++--- man7/unix.7 | 2 +- 10 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Changes b/Changes index 397e2d088..0e5738f90 100644 --- a/Changes +++ b/Changes @@ -32,7 +32,7 @@ acct.5 hostname.7 mtk - A description og hostnames. + A description og hostnames. Taken from FreeBSD 6.2, and lightly edited for man-pages style. symlink.7 @@ -67,7 +67,7 @@ core.5 proc.5 mtk Document /proc/PID/oom_score, which was new in kernel 2.6.11. - This file displays the "badness" score of the process, which + This file displays the "badness" score of the process, which provides the basis for OOM-killer decisions. mtk Document /proc/PID/oom_adj, which was new in kernel 2.6.11. @@ -279,7 +279,7 @@ remainder.3 man-pages.7 mtk Enhanced description of VERSIONS section. - + mq_overview.7 mtk Note that Linux does not currently support ACLs for POSIX diff --git a/man2/chown.2 b/man2/chown.2 index 1cc4ed70e..257a108ee 100644 --- a/man2/chown.2 +++ b/man2/chown.2 @@ -221,7 +221,7 @@ then the group of a new file is made the same as that of the parent directory. .PP As at Linux 2.6.25, -the +the .IR "\-o\ grpid" and .IR "\-o\ nogrpid" diff --git a/man2/execve.2 b/man2/execve.2 index 83882a288..b1fc9714a 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -472,7 +472,7 @@ which has the same effect as specifying this argument as a pointer to a list containing a single NULL pointer. .B "Do not take advantage of this misfeature!" It is non-standard and non-portable: -on most other Unix systems doing this will result in an error +on most other Unix systems doing this will result in an error .RB ( EFAULT ). .\" e.g., EFAULT on Solaris 8 and FreeBSD 6.1; but .\" HP-UX 11 is like Linux -- mtk, Apr 2007 diff --git a/man2/sched_setscheduler.2 b/man2/sched_setscheduler.2 index 4dc6bfa1a..155781880 100644 --- a/man2/sched_setscheduler.2 +++ b/man2/sched_setscheduler.2 @@ -38,7 +38,7 @@ .\" 2007-07-10, Carsten Emde .\" Add text on real-time features that are currently being .\" added to the mainline kernel. -.\" 2008-05-07, mtk; Rewrote and restructured various parts of the page to +.\" 2008-05-07, mtk; Rewrote and restructured various parts of the page to .\" improve readability. .\" .TH SCHED_SETSCHEDULER 2 2008-06-20 "Linux" "Linux Programmer's Manual" @@ -71,8 +71,8 @@ The interpretation of the parameter \fIparam\fP depends on the selected policy. Currently, Linux supports the following "normal" scheduling policies: .TP 14 -.BR SCHED_OTHER -the standard round-robin time-sharing policy; +.BR SCHED_OTHER +the standard round-robin time-sharing policy; .\" In the 2.6 kernel sources, SCHED_OTHER is actually called .\" SCHED_NORMAL. .TP @@ -117,7 +117,7 @@ For processes scheduled under one of the normal scheduling policies \fIsched_priority\fP is not used in scheduling decisions (it must be specified as 0). -Processes scheduled under one of the real-time policies +Processes scheduled under one of the real-time policies (\fBSCHED_FIFO\fP, \fBSCHED_RR\fP) have a \fIsched_priority\fP value in the range 1 (low) to 99 (high). (As the numbers imply, real-time processes always have higher priority diff --git a/man3/dprintf.3 b/man3/dprintf.3 index c6c8587c7..f2295fcd4 100644 --- a/man3/dprintf.3 +++ b/man3/dprintf.3 @@ -59,9 +59,9 @@ next POSIX.1 revision. .\" usually some debugging version of .\" .BR printf (3), .\" perhaps with a prototype like -.\" +.\" .\" .BI "void dprintf(int level, const char *" format ", ...);" -.\" +.\" .\" where the first parameter is a debugging level (and output is to .\" .IR stderr ). .\" Moreover, @@ -71,7 +71,7 @@ next POSIX.1 revision. .\" is also a popular macro name for a debugging printf. .\" So, probably, it is better to avoid this function in programs .\" intended to be portable. -.\" +.\" .\" A better name would have been .\" .BR fdprintf (). .SH "SEE ALSO" diff --git a/man5/acct.5 b/man5/acct.5 index 0a9263327..8c8dcff2d 100644 --- a/man5/acct.5 +++ b/man5/acct.5 @@ -35,7 +35,7 @@ starts process accounting, for example: acct("/var/log/pacct"); .in -When process accounting is enabled, the kernel writes a record +When process accounting is enabled, the kernel writes a record to the accounting file as each process on the system terminates. This record contains information about the terminated process, iand is defined in @@ -64,7 +64,7 @@ struct acct { comp_t ac_minflt; /* Minor page faults */ comp_t ac_majflt; /* Major page faults */ comp_t ac_swaps; /* Number of swaps (unused) */ - u_int32_t ac_exitcode; /* Process termination status + u_int32_t ac_exitcode; /* Process termination status (see wait(2)) */ char ac_comm[ACCT_COMM+1]; /* Command name (basename of last @@ -107,7 +107,7 @@ an optional alternative version of the accounting file can be produced if the CONFIG_BSD_PROCESS_ACCT_V3 option is set when building the kernel. With this option is set, the records written to the accounting file contain additional fields, -and the width of +and the width of .I c_uid and .I ac_gid diff --git a/man5/core.5 b/man5/core.5 index e67085dfd..3073656aa 100644 --- a/man5/core.5 +++ b/man5/core.5 @@ -218,7 +218,7 @@ is 0x3; this reflects traditional Linux behavior and means that only anonymous memory segments are dumped. -Memory-mapped I/O pages such as frame buffer are never dumped, and +Memory-mapped I/O pages such as frame buffer are never dumped, and virtual DSO pages are always dumped, regardless of the .I coredump_filter value. @@ -228,7 +228,7 @@ A child process created via inherits its parents .I coredump_filter value; -the +the .I coredump_filter value is preserved across an .BR execve (2). @@ -273,7 +273,7 @@ where each thread of a process has a different PID.) .\" application is using). -- mtk, April 2006 .SH EXAMPLE The program below can be used to demonstrate the use of the -pipe syntax in the +pipe syntax in the .I /proc/sys/kernel/core_pattern file. The following shell session demonstrates the use of this program @@ -326,7 +326,7 @@ main(int argc, char *argv[]) FILE *fp; char cwd[PATH_MAX]; - /* Change our current working directory to that of the + /* Change our current working directory to that of the crashing process */ snprintf(cwd, PATH_MAX, "/proc/%s/cwd", argv[1]); @@ -348,7 +348,7 @@ main(int argc, char *argv[]) /* Count bytes in standard input (the core dump) */ tot = 0; - while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) > 0) + while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) > 0) tot += nread; fprintf(fp, "Total bytes in core dump: %d\\n", tot); diff --git a/man5/proc.5 b/man5/proc.5 index f557efe51..67d05446a 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -42,7 +42,7 @@ .\" 2005-09-19, mtk, added /proc/zoneinfo .\" 2005-03-01, mtk, moved /proc/sys/fs/mqueue/* material to mq_overview.7. .\" 2008-05-05, mtk, Added /proc/PID/oom_score, /proc/PID/oom_adj, -.\" /proc/PID/limits, /proc/PID/mountinfo, /proc/PID/mounstats, +.\" /proc/PID/limits, /proc/PID/mountinfo, /proc/PID/mounstats, .\" and /proc/PID/fdinfo/*. .\" .\" FIXME 2.6.14 has /proc/PID/numa_maps (if CONFIG_NUMA is diff --git a/man7/symlink.7 b/man7/symlink.7 index 8a583295b..9547a66c1 100644 --- a/man7/symlink.7 +++ b/man7/symlink.7 @@ -333,7 +333,7 @@ walk (where symbolic links the refer to directories are followed). Certain conventions are (should be) followed as consistently as possible by commands that perform file tree walks: .IP * 2 -A command can be made to follow +A command can be made to follow any symbolic links named on the command line, regardless of the type of file they reference, by specifying the .I -H @@ -456,8 +456,8 @@ whether specified on the command line or encountered in the tree walk. .\" path_resolution .\" *at.2 .\" various syscalls listed earlier -.\" -.\" +.\" +.\" .\" Add SEE ALSO references from some of the following pages to this page: .BR chgrp (1), .BR chmod (1), diff --git a/man7/unix.7 b/man7/unix.7 index 7d3c89de8..c68bab218 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -107,7 +107,7 @@ should not be inspected. .IP * .IR abstract : an abstract socket address is distinguished by the fact that -.IR sun_path[0] +.IR sun_path[0] is a null byte (`\\0'). All of the remaining bytes in .I sun_path