summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-22 16:02:00 +0000
committerru <ru@FreeBSD.org>2000-11-22 16:02:00 +0000
commitbdc5340b39fbc40a64feadf0d2fd65beca35a320 (patch)
tree4a0b074ae28c1e44296bda8760d05dd25bd2ddfa /lib/libc/gen
parentc3abc432d868b9b1370e4d575ff6839e27d887ef (diff)
downloadFreeBSD-src-bdc5340b39fbc40a64feadf0d2fd65beca35a320.zip
FreeBSD-src-bdc5340b39fbc40a64feadf0d2fd65beca35a320.tar.gz
mdoc(7) police: Er macro usage cleanup.
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/glob.34
-rw-r--r--lib/libc/gen/sem_destroy.34
-rw-r--r--lib/libc/gen/sem_init.34
-rw-r--r--lib/libc/gen/siginterrupt.32
-rw-r--r--lib/libc/gen/sysctl.39
5 files changed, 15 insertions, 8 deletions
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 11606f8..b2f2b80 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -281,9 +281,9 @@ is not a directory, resulting in a
call to
.Fa errfunc .
The error routine can suppress this action by testing for
-.Dv ENOENT
+.Er ENOENT
and
-.Dv ENOTDIR ;
+.Er ENOTDIR ;
however, the
.Dv GLOB_ERR
flag will still cause an immediate
diff --git a/lib/libc/gen/sem_destroy.3 b/lib/libc/gen/sem_destroy.3
index 56e9204..bc66ffd 100644
--- a/lib/libc/gen/sem_destroy.3
+++ b/lib/libc/gen/sem_destroy.3
@@ -81,5 +81,7 @@ if called while there are threads blocked on
.Fa sem ,
but this implementation is guaranteed to return -1 and set
.Va errno
-to EBUSY if there are threads blocked on
+to
+.Er EBUSY
+if there are threads blocked on
.Fa sem .
diff --git a/lib/libc/gen/sem_init.3 b/lib/libc/gen/sem_init.3
index 2449ce0..ae791ba 100644
--- a/lib/libc/gen/sem_init.3
+++ b/lib/libc/gen/sem_init.3
@@ -95,7 +95,9 @@ Std 1003.1 1996 Edition.
This implementation does not support shared semaphores, and reports this fact
by setting
.Va errno
-to EPERM. This is perhaps a stretch of the intention of POSIX, but is
+to
+.Er EPERM .
+This is perhaps a stretch of the intention of POSIX, but is
compliant, with the caveat that
.Fn sem_init
always reports a permissions error when an attempt to create a shared semaphore
diff --git a/lib/libc/gen/siginterrupt.3 b/lib/libc/gen/siginterrupt.3
index 17dfb9e..102c04e 100644
--- a/lib/libc/gen/siginterrupt.3
+++ b/lib/libc/gen/siginterrupt.3
@@ -67,7 +67,7 @@ and no data has been transferred,
the system call will return \-1 with the global variable
.Va errno
set to
-.Dv EINTR .
+.Er EINTR .
Interrupted system calls that have started transferring
data will return the amount of data actually transferred.
System call interrupt is the signal behavior found on
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 4a663ce..96eb9ec 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -91,11 +91,13 @@ The size of the buffer is given by the location specified by
.Fa oldlenp
before the call,
and that location gives the amount of data copied after a successful call
-and after a call that returns with the error code ENOMEM.
+and after a call that returns with the error code
+.Er ENOMEM .
If the amount of data available is greater
than the size of the buffer supplied,
the call supplies as much data as fits in the buffer provided
-and returns with the error code ENOMEM.
+and returns with the error code
+.Er ENOMEM .
If the old value is not desired,
.Fa oldp
and
@@ -391,7 +393,8 @@ It is also possible for a process to set its own process title this way.
Return profiling information about the kernel.
If the kernel is not compiled for profiling,
attempts to retrieve any of the KERN_PROF values will
-fail with EOPNOTSUPP.
+fail with
+.Er EOPNOTSUPP .
The third level names for the string and integer profiling information
is detailed below.
The changeable column shows whether a process with appropriate
OpenPOWER on IntegriCloud