summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/crypt.32
-rw-r--r--lib/libc/gen/ctermid.32
-rw-r--r--lib/libc/gen/exec.310
-rw-r--r--lib/libc/gen/getmntinfo.32
-rw-r--r--lib/libc/gen/getpagesize.33
-rw-r--r--lib/libc/gen/glob.33
-rw-r--r--lib/libc/gen/popen.34
-rw-r--r--lib/libc/gen/signal.32
-rw-r--r--lib/libc/gen/sleep.32
-rw-r--r--lib/libc/gen/syslog.34
-rw-r--r--lib/libc/gen/unvis.32
11 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/gen/crypt.3 b/lib/libc/gen/crypt.3
index d95f704..28b5112 100644
--- a/lib/libc/gen/crypt.3
+++ b/lib/libc/gen/crypt.3
@@ -54,7 +54,7 @@
.Fn des_cipher "const char *in" "char *out" "long salt" "int count"
.Sh DESCRIPTION
The
-.Xr crypt
+.Fn crypt
function
performs password encryption.
It is derived from the
diff --git a/lib/libc/gen/ctermid.3 b/lib/libc/gen/ctermid.3
index ff92420..2e3e9e6 100644
--- a/lib/libc/gen/ctermid.3
+++ b/lib/libc/gen/ctermid.3
@@ -80,7 +80,7 @@ The current implementation detects no error conditions.
.Xr ttyname 3
.Sh STANDARDS
The
-.Xr ctermid
+.Fn ctermid
function conforms to
.St -p1003.1-88 .
.Sh BUGS
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index 5c74ada..bda6e9e 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -65,7 +65,7 @@ new process image.
The functions described in this manual page are front-ends for the function
.Xr execve 2 .
(See the manual page for
-.Xr execve
+.Xr execve 2
for detailed information about the replacement of the current process.)
.Pp
The initial argument for these functions is the pathname of a file which
@@ -148,7 +148,7 @@ used.
In addition, certain errors are treated specially.
.Pp
If permission is denied for a file (the attempted
-.Xr execve
+.Fn execve
returned
.Er EACCES ) ,
these functions will continue searching the rest of
@@ -159,7 +159,7 @@ set to
.Er EACCES .
.Pp
If the header of a file isn't recognized (the attempted
-.Xr execve
+.Fn execve
returned
.Er ENOEXEC ) ,
these functions will execute the shell with the path of
@@ -167,7 +167,7 @@ the file as its first argument.
(If this attempt fails, no further searching is done.)
.Pp
If the file is currently busy (the attempted
-.Xr execve
+.Fn execve
returned
.Er ETXTBUSY ) ,
these functions will sleep for several seconds,
@@ -179,7 +179,7 @@ executes a file with the program tracing facilities enabled (see
.Xr ptrace 2 ) .
.Sh RETURN VALUES
If any of the
-.Xr exec
+.Fn exec
functions returns, an error will have occurred.
The return value is \-1, and the global variable
.Va errno
diff --git a/lib/libc/gen/getmntinfo.3 b/lib/libc/gen/getmntinfo.3
index 9a28b2e..da1d5ad 100644
--- a/lib/libc/gen/getmntinfo.3
+++ b/lib/libc/gen/getmntinfo.3
@@ -48,7 +48,7 @@ The
.Fn getmntinfo
function
returns an array of
-.Xr statfs
+.Fn statfs
structures describing each currently mounted file system (see
.Xr statfs 2 ) .
.Pp
diff --git a/lib/libc/gen/getpagesize.3 b/lib/libc/gen/getpagesize.3
index 1a26297..ea7f587 100644
--- a/lib/libc/gen/getpagesize.3
+++ b/lib/libc/gen/getpagesize.3
@@ -47,8 +47,7 @@ returns the number of bytes in a page.
Page granularity is the granularity of many of the memory
management calls.
.Pp
-The page size is a
-.Xr system
+The page size is a system
page size and may not be the same as the underlying
hardware page size.
.Sh SEE ALSO
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index f28bc2a..65c5674 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -220,7 +220,8 @@ to provide globbing from directories stored on tape.
Pre-process the pattern string to expand
.Ql {pat,pat,...}
strings like
-.Xr csh 1. The pattern
+.Xr csh 1 .
+The pattern
.Ql {}
is left unexpanded for historical reasons
.Xr (Csh 1
diff --git a/lib/libc/gen/popen.3 b/lib/libc/gen/popen.3
index 6f89a5c..db4adfa 100644
--- a/lib/libc/gen/popen.3
+++ b/lib/libc/gen/popen.3
@@ -170,9 +170,9 @@ The
.Fn popen
argument
always calls
-.Xr sh ,
+.Xr sh 1 ,
never calls
-.Xr csh .
+.Xr csh 1 .
.Sh HISTORY
A
.Fn popen
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 37ad60b..3fd52d8 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -193,7 +193,7 @@ Otherwise, \-1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Xr Signal
+.Fn Signal
will fail and no action will take place if one of the
following occur:
.Bl -tag -width [EINVAL]
diff --git a/lib/libc/gen/sleep.3 b/lib/libc/gen/sleep.3
index 9e3c797..a56a80e 100644
--- a/lib/libc/gen/sleep.3
+++ b/lib/libc/gen/sleep.3
@@ -70,7 +70,7 @@ A similar but less compatible function can be obtained with a single
.Xr select 2 ;
such a function would not restart after signals, but would not interfere
with other uses of
-.Xr setitimer .
+.Xr setitimer 2 .
.Sh RETURN VALUES
.Sh SEE ALSO
.Xr setitimer 2 ,
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 8a46d05..832fd9c 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -139,12 +139,12 @@ one or more of the following values:
If
.Fn syslog
cannot pass the message to
-.Xr syslogd
+.Xr syslogd 8
it will attempt to write the message to the console
.Pq Dq Pa /dev/console.
.It Dv LOG_NDELAY
Open the connection to
-.Xr syslogd
+.Xr syslogd 8
immediately.
Normally the open is delayed until the first message is logged.
Useful for programs that need to manage the order in which file
diff --git a/lib/libc/gen/unvis.3 b/lib/libc/gen/unvis.3
index 807a851..c65024d 100644
--- a/lib/libc/gen/unvis.3
+++ b/lib/libc/gen/unvis.3
@@ -100,7 +100,7 @@ to zero. Call
with each successive byte, along with a pointer
to this integer, and a pointer to a destination character.
The
-.Xr unvis
+.Fn unvis
function
has several return codes that must be handled properly. They are:
.Bl -tag -width UNVIS_VALIDPUSH
OpenPOWER on IntegriCloud