summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2012-05-08 18:56:21 +0000
committergjb <gjb@FreeBSD.org>2012-05-08 18:56:21 +0000
commit52487d9a5cec5d4144a37b031adbf2b113602c8c (patch)
tree3221d9382ca72a5f4d428b20ce2750d923daae65 /lib/libc
parent8120b09fe9332fb0fd25fb29d6a2e8b7f0872b9e (diff)
downloadFreeBSD-src-52487d9a5cec5d4144a37b031adbf2b113602c8c.zip
FreeBSD-src-52487d9a5cec5d4144a37b031adbf2b113602c8c.tar.gz
General mdoc(7) and typo fixes.
PR: 167713 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/compat-43/sigpause.25
-rw-r--r--lib/libc/sys/ffclock.24
-rw-r--r--lib/libc/sys/ktrace.22
-rw-r--r--lib/libc/sys/msgsnd.22
-rw-r--r--lib/libc/sys/pathconf.22
-rw-r--r--lib/libc/sys/rtprio.27
-rw-r--r--lib/libc/sys/setfib.23
-rw-r--r--lib/libc/sys/shm_open.22
-rw-r--r--lib/libc/sys/sigqueue.22
-rw-r--r--lib/libc/sys/timer_create.22
-rw-r--r--lib/libc/sys/timer_delete.22
-rw-r--r--lib/libc/sys/timer_settime.22
-rw-r--r--lib/libc/sys/unlink.22
13 files changed, 20 insertions, 17 deletions
diff --git a/lib/libc/compat-43/sigpause.2 b/lib/libc/compat-43/sigpause.2
index 1187b52..4c24ab7 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 0e8f09b..68ea922 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 1740d75..4e5d92a 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 d6333bb..051c992 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 8bdd5b8..efa1338 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 faad941..ac78b50 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 ef561d2..7c65c92 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 cc12132..a521e58 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 9e6a4c5..8069e98 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 316cea3..3355159 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 a1b245a..a7f5ada 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 4b9d938..3f7be18 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 bb27085..406c77c 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
OpenPOWER on IntegriCloud