From 9f63b42217b570f1f3dac8394ae18c37213ceaa8 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Tue, 8 May 2012 18:56:21 +0000 Subject: General mdoc(7) and typo fixes. PR: 167713 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) --- lib/libc/compat-43/sigpause.2 | 5 +++-- lib/libc/sys/ffclock.2 | 4 ++-- lib/libc/sys/ktrace.2 | 2 +- lib/libc/sys/msgsnd.2 | 2 +- lib/libc/sys/pathconf.2 | 2 +- lib/libc/sys/rtprio.2 | 7 ++++--- lib/libc/sys/setfib.2 | 3 ++- lib/libc/sys/shm_open.2 | 2 +- lib/libc/sys/sigqueue.2 | 2 +- lib/libc/sys/timer_create.2 | 2 +- lib/libc/sys/timer_delete.2 | 2 +- lib/libc/sys/timer_settime.2 | 2 +- lib/libc/sys/unlink.2 | 2 +- 13 files changed, 20 insertions(+), 17 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/compat-43/sigpause.2 b/lib/libc/compat-43/sigpause.2 index 1187b5240911..4c24ab7c4c2c 100644 --- a/lib/libc/compat-43/sigpause.2 +++ b/lib/libc/compat-43/sigpause.2 @@ -62,7 +62,7 @@ .Sy This interface is made obsolete by .Xr sigsuspend 2 .Sy and -.Xr sigaction 2 +.Xr sigaction 2 . .Pp The .Fn sigset @@ -172,7 +172,8 @@ returns if the signal had been blocked and the signal's previous disposition if it had not been blocked. Otherwise, -.Dv SIG_ERR is returned and +.Dv SIG_ERR +is returned and .Va errno set to indicate the error. .Pp diff --git a/lib/libc/sys/ffclock.2 b/lib/libc/sys/ffclock.2 index 0e8f09b74006..68ea922e4d69 100644 --- a/lib/libc/sys/ffclock.2 +++ b/lib/libc/sys/ffclock.2 @@ -34,7 +34,7 @@ .Nm ffclock_getcounter , .Nm ffclock_getestimate , .Nm ffclock_setestimate -.Nd Retrieve feed-forward counter, get and set feed-forward clock estimates. +.Nd Retrieve feed-forward counter, get and set feed-forward clock estimates .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -59,7 +59,7 @@ In the feed-forward context, a .Em timestamp is a cumulative value of the ticks of the timecounter, which can be converted into seconds by using the feed-forward -.Em clock estimates. +.Em clock estimates . .Pp The .Fn ffclock_getcounter diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2 index 1740d75057d8..4e5d92af837c 100644 --- a/lib/libc/sys/ktrace.2 +++ b/lib/libc/sys/ktrace.2 @@ -127,7 +127,7 @@ field gives the time (with microsecond resolution) that the record was generated. The .Va ktr_tid -field holds a threadid. +field holds a thread id. .Pp The generic header is followed by .Va ktr_len diff --git a/lib/libc/sys/msgsnd.2 b/lib/libc/sys/msgsnd.2 index d6333bbd96d0..051c9922e58c 100644 --- a/lib/libc/sys/msgsnd.2 +++ b/lib/libc/sys/msgsnd.2 @@ -139,7 +139,7 @@ will fail if: The .Fa msqid argument -is not a valid message queue identifier +is not a valid message queue identifier. .Pp The message queue was removed while .Fn msgsnd diff --git a/lib/libc/sys/pathconf.2 b/lib/libc/sys/pathconf.2 index 8bdd5b8acf9e..efa13387d651 100644 --- a/lib/libc/sys/pathconf.2 +++ b/lib/libc/sys/pathconf.2 @@ -165,7 +165,7 @@ Returns 1 if a Mandatory Access Control (MAC) label can be set on the specified file, otherwise 0. .It Li _PC_MIN_HOLE_SIZE If a file system supports the reporting of holes (see -.Xr lseek 2 , +.Xr lseek 2 ) , .Fn pathconf and .Fn fpathconf diff --git a/lib/libc/sys/rtprio.2 b/lib/libc/sys/rtprio.2 index faad9417c55c..ac78b5099514 100644 --- a/lib/libc/sys/rtprio.2 +++ b/lib/libc/sys/rtprio.2 @@ -132,7 +132,8 @@ RTP_PRIO_NORMAL for normal priorities, and RTP_PRIO_IDLE for idle priorities. The priority specified by the .Va prio field ranges between 0 and -.Dv RTP_PRIO_MAX (usually 31) . +.Dv RTP_PRIO_MAX +.Pq usually 31 . 0 is the highest possible priority. .Pp Realtime and idle priority is inherited through fork() and exec(). @@ -149,7 +150,7 @@ Threads of equal real/idle priority are run round-robin. The .Fn rtprio system call -will fail if +will fail if: .Bl -tag -width Er .It Bq Er EINVAL The specified @@ -175,7 +176,7 @@ The specified process or thread was not found or visible. .Xr setpriority 2 , .Xr nice 3 , .Xr renice 8 , -.Xr p_cansee 9 . +.Xr p_cansee 9 .Sh AUTHORS .An -nosplit The original author was diff --git a/lib/libc/sys/setfib.2 b/lib/libc/sys/setfib.2 index ef561d28e72c..7c65c924e00f 100644 --- a/lib/libc/sys/setfib.2 +++ b/lib/libc/sys/setfib.2 @@ -95,7 +95,8 @@ system call is a .Fx extension however similar extensions have been added to many other -.Ux style kernels. +.Ux +style kernels. .Sh HISTORY The .Fn setfib diff --git a/lib/libc/sys/shm_open.2 b/lib/libc/sys/shm_open.2 index cc12132247a7..a521e58412b3 100644 --- a/lib/libc/sys/shm_open.2 +++ b/lib/libc/sys/shm_open.2 @@ -88,7 +88,7 @@ already exists, then .Fn shm_open will fail with -.Er EEXIST. +.Er EEXIST . .Pp Newly created objects start off with a size of zero. If an existing shared memory object is opened with diff --git a/lib/libc/sys/sigqueue.2 b/lib/libc/sys/sigqueue.2 index 9e6a4c520087..8069e98efa68 100644 --- a/lib/libc/sys/sigqueue.2 +++ b/lib/libc/sys/sigqueue.2 @@ -141,7 +141,7 @@ does not exist. The .Fn sigqueue system call conforms to -.St -p1003.1-2004 +.St -p1003.1-2004 . .Sh HISTORY Support for .Tn POSIX diff --git a/lib/libc/sys/timer_create.2 b/lib/libc/sys/timer_create.2 index 316cea34ea95..3355159b320a 100644 --- a/lib/libc/sys/timer_create.2 +++ b/lib/libc/sys/timer_create.2 @@ -157,7 +157,7 @@ memory protection fault. The .Fn timer_create system call conforms to -.St -p1003.1-2004 +.St -p1003.1-2004 . .Sh HISTORY Support for .Tn POSIX diff --git a/lib/libc/sys/timer_delete.2 b/lib/libc/sys/timer_delete.2 index a1b245a52752..a7f5ada0eb51 100644 --- a/lib/libc/sys/timer_delete.2 +++ b/lib/libc/sys/timer_delete.2 @@ -72,7 +72,7 @@ is not a valid timer ID. The .Fn timer_delete system call conforms to -.St -p1003.1-2004 +.St -p1003.1-2004 . .Sh HISTORY Support for .Tn POSIX diff --git a/lib/libc/sys/timer_settime.2 b/lib/libc/sys/timer_settime.2 index 4b9d93823b09..3f7be18c217d 100644 --- a/lib/libc/sys/timer_settime.2 +++ b/lib/libc/sys/timer_settime.2 @@ -257,7 +257,7 @@ The and .Fn timer_settime system calls conform to -.St -p1003.1-2004 +.St -p1003.1-2004 . .Sh HISTORY Support for .Tn POSIX diff --git a/lib/libc/sys/unlink.2 b/lib/libc/sys/unlink.2 index bb27085422bc..406c77c24752 100644 --- a/lib/libc/sys/unlink.2 +++ b/lib/libc/sys/unlink.2 @@ -157,7 +157,7 @@ In addition to the errors returned by the .Fn unlink , the .Fn unlinkat -may fail if +may fail if: .Bl -tag -width Er .It Bq Er EBADF The -- cgit v1.2.3