summaryrefslogtreecommitdiff
path: root/lib/libcompat
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-09 13:36:00 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-09 13:36:00 +0000
commit078c2448197a826265f74828b3159d758f1f0ceb (patch)
treeef3b0d7b2b6fcf1328ac8953d9e2abf6431093ea /lib/libcompat
parent3610cb2f5b1eeb5e599fcca418780b43c2f30b6d (diff)
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
Diffstat (limited to 'lib/libcompat')
-rw-r--r--lib/libcompat/4.1/ftime.34
-rw-r--r--lib/libcompat/4.1/getpw.34
-rw-r--r--lib/libcompat/4.1/stty.36
-rw-r--r--lib/libcompat/4.1/vlimit.34
-rw-r--r--lib/libcompat/4.1/vtimes.310
-rw-r--r--lib/libcompat/4.3/insque.34
-rw-r--r--lib/libcompat/4.3/lsearch.32
-rw-r--r--lib/libcompat/4.3/re_comp.310
-rw-r--r--lib/libcompat/4.3/rexec.310
-rw-r--r--lib/libcompat/4.4/cuserid.330
10 files changed, 42 insertions, 42 deletions
diff --git a/lib/libcompat/4.1/ftime.3 b/lib/libcompat/4.1/ftime.3
index 2220558f7b0..b6446206e60 100644
--- a/lib/libcompat/4.1/ftime.3
+++ b/lib/libcompat/4.1/ftime.3
@@ -44,7 +44,7 @@
.Fn ftime "struct timeb *tp"
.Sh DESCRIPTION
.Bf -symbolic
-This interface is obsoleted by
+This interface is obsoleted by
.Xr gettimeofday 2 .
It is available from the compatibility library, libcompat.
.Ef
@@ -80,5 +80,5 @@ Daylight Saving time applies locally during the appropriate part of the year.
.Sh HISTORY
The
.Nm
-function appeared in
+function appeared in
.Bx 4.2 .
diff --git a/lib/libcompat/4.1/getpw.3 b/lib/libcompat/4.1/getpw.3
index b2e525a06ea..6f3b28dff29 100644
--- a/lib/libcompat/4.1/getpw.3
+++ b/lib/libcompat/4.1/getpw.3
@@ -41,7 +41,7 @@
.Fn getpw uid "char *buf"
.Sh DESCRIPTION
.Bf -symbolic
-The getpw function is made obsolete by
+The getpw function is made obsolete by
.Xr getpwuid 3 .
It is available from the compatibility library, libcompat.
.Ef
@@ -62,7 +62,7 @@ character.
.Sh RETURN VALUES
The
.Fn getpw
-function returns the zero if successful, otherwise
+function returns the zero if successful, otherwise
a non-zero if the entry does not exist.
.Sh FILES
.Bl -tag -width /etc/passwd - compact
diff --git a/lib/libcompat/4.1/stty.3 b/lib/libcompat/4.1/stty.3
index b3ac1a4a020..04fa64d3a24 100644
--- a/lib/libcompat/4.1/stty.3
+++ b/lib/libcompat/4.1/stty.3
@@ -44,7 +44,7 @@
.Fn gtty "int fd" "struct sgttyb *buf"
.Sh DESCRIPTION
.Bf -symbolic
-These interfaces are obsoleted by
+These interfaces are obsoleted by
.Xr ioctl 2 .
They are available from the compatibility library, libcompat.
.Ef
@@ -72,7 +72,7 @@ the
.Fn gtty
call is
.Ql ioctl(fd, TIOCGETP, buf) .
-See
+See
.Xr ioctl 2
and
.Xr tty 4
@@ -90,5 +90,5 @@ The
.Fn stty
and
.Fn gtty
-functions appeared in
+functions appeared in
.Bx 4.2 .
diff --git a/lib/libcompat/4.1/vlimit.3 b/lib/libcompat/4.1/vlimit.3
index 700be6fc668..3c798ec1aff 100644
--- a/lib/libcompat/4.1/vlimit.3
+++ b/lib/libcompat/4.1/vlimit.3
@@ -48,7 +48,7 @@ It is available from the compatibility library, libcompat.
.Ef
.Pp
Limits the consumption by the current process and each process
-it creates to not individually exceed
+it creates to not individually exceed
.Fa value
on the specified
.Fa resource .
@@ -117,7 +117,7 @@ time limit.
.Sh HISTORY
The
.Fn vlimit
-function appeared in
+function appeared in
.Bx 4.2 .
.Sh BUGS
.Dv LIM_NORAISE
diff --git a/lib/libcompat/4.1/vtimes.3 b/lib/libcompat/4.1/vtimes.3
index aaf4fbc7a5f..72bd2aaa464 100644
--- a/lib/libcompat/4.1/vtimes.3
+++ b/lib/libcompat/4.1/vtimes.3
@@ -42,7 +42,7 @@
.Fn vtimes "struct vtimes *par_vm" "struct vtimes *ch_vm"
.Sh DESCRIPTION
.Bf -symbolic
-This interface is obsoleted by
+This interface is obsoleted by
.Xr getrusage 2 .
It is available from the compatibility library, libcompat.
.Ef
@@ -54,7 +54,7 @@ returns accounting information for the current process and for
the terminated child processes of the current
process. Either
.Fa par_vm
-or
+or
.Fa ch_vm
or both may be 0, in which case only the information for the pointers
which are non-zero is returned.
@@ -99,7 +99,7 @@ pages over 1 cpu-second for its data and stack, then
.Fa vm_idsrss
would have the value 5*60, where
.Fa vm_utime+vm_stime
-would be the 60.
+would be the 60.
The
.Fa vm_idsrss
argument
@@ -113,7 +113,7 @@ variable
reports the maximum instantaneous sum of the
text+data+stack core-resident page count.
.Pp
-The
+The
.Fa vm_majflt
field gives the number of page faults which
resulted in disk activity; the
@@ -138,5 +138,5 @@ to the first process to read or write the data.
.Sh HISTORY
The
.Fn vlimit
-function appeared in
+function appeared in
.Bx 4.2 .
diff --git a/lib/libcompat/4.3/insque.3 b/lib/libcompat/4.3/insque.3
index 0cf594d3473..59002e25489 100644
--- a/lib/libcompat/4.3/insque.3
+++ b/lib/libcompat/4.3/insque.3
@@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: insque.3,v 1.2 1999/07/07 10:50:05 aaron Exp $
+.\" $Id: insque.3,v 1.3 1999/07/09 13:35:24 aaron Exp $
.\"
.Dd August 12, 1993
.Dt INSQUE 3
@@ -46,7 +46,7 @@
.Ft };
.br
.br
-.Ft void
+.Ft void
.Fn insque "struct qelem *elem" "struct qelem *pred"
.Ft void
.Fn remque "struct qelem *elem"
diff --git a/lib/libcompat/4.3/lsearch.3 b/lib/libcompat/4.3/lsearch.3
index 6b128c8ff9e..2b57f51bb55 100644
--- a/lib/libcompat/4.3/lsearch.3
+++ b/lib/libcompat/4.3/lsearch.3
@@ -70,7 +70,7 @@ is a comparison routine which is used to compare two elements.
It takes two arguments which point to the
.Fa key
object and to an array member, in that order, and must return an integer
-less than, equivalent to, or greater than zero if the
+less than, equivalent to, or greater than zero if the
.Fa key
object is considered, respectively, to be less than, equal to, or greater
than the array member.
diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3
index d10ef653765..10f2bb42906 100644
--- a/lib/libcompat/4.3/re_comp.3
+++ b/lib/libcompat/4.3/re_comp.3
@@ -54,7 +54,7 @@ It is available from the compatibility library, libcompat.
The
.Fn re_comp
function
-compiles a string into an internal form suitable for pattern matching.
+compiles a string into an internal form suitable for pattern matching.
The
.Fn re_exec
function
@@ -67,7 +67,7 @@ function
returns 0 if the string
.Fa s
was compiled successfully; otherwise a string containing an
-error message is returned. If
+error message is returned. If
.Fn re_comp
is passed 0 or a null string, it returns without changing the currently
compiled regular expression.
@@ -86,10 +86,10 @@ The strings passed to both
.Fn re_comp
and
.Fn re_exec
-may have trailing or embedded newline characters;
+may have trailing or embedded newline characters;
they are terminated by
.Dv NUL Ns s.
-The regular expressions recognized are described in the manual entry for
+The regular expressions recognized are described in the manual entry for
.Xr ed 1 ,
given the above difference.
.Sh DIAGNOSTICS
@@ -122,5 +122,5 @@ The
.Fn re_comp
and
.Fn re_exec
-functions appeared in
+functions appeared in
.Bx 4.0 .
diff --git a/lib/libcompat/4.3/rexec.3 b/lib/libcompat/4.3/rexec.3
index 7dfa79aa3b9..a1849a9769d 100644
--- a/lib/libcompat/4.3/rexec.3
+++ b/lib/libcompat/4.3/rexec.3
@@ -42,7 +42,7 @@
.Fn rexec ahost "int inport" "char *user" "char *passwd" "char *cmd" "int *fd2p"
.Sh DESCRIPTION
.Bf -symbolic
-This interface is obsoleted by
+This interface is obsoleted by
.Xr krcmd 3 .
It is available from the compatibility library, libcompat.
.Ef
@@ -73,7 +73,7 @@ specifies which well-known
Internet port to use for
the connection; the call
.Ql getservbyname(\\*qexec\\*q, \\*qtcp\\*q)
-(see
+(see
.Xr getservent 3 )
will return a pointer to a structure, which contains the
necessary port.
@@ -105,10 +105,10 @@ as the secondary connection is set up after authorization has been
verified.
If
.Fa fd2p
-is 0, then the
+is 0, then the
.Em stderr
(unit 2 of the remote
-command) will be made the same as the
+command) will be made the same as the
.Em stdout
and no
provision is made for sending arbitrary signals to the remote process,
@@ -119,5 +119,5 @@ although you may be able to get its attention by using out-of-band data.
.Sh HISTORY
The
.Fn rexec
-function appeared in
+function appeared in
.Bx 4.2 .
diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3
index 4b6145a22ef..550b46f8d70 100644
--- a/lib/libcompat/4.4/cuserid.3
+++ b/lib/libcompat/4.4/cuserid.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ctermid.3 5.2 (Berkeley) 4/19/91
-.\" $Id: cuserid.3,v 1.2 1999/07/02 21:12:58 aaron Exp $
+.\" $Id: cuserid.3,v 1.3 1999/07/09 13:35:23 aaron Exp $
.\"
.Dd November 28, 1993
.Dt CUSERID 3
@@ -49,7 +49,7 @@ This interface is available from the compatibility library, libcompat.
.Pp
The
.Fn cuserid
-function returns a character string representation of the user name
+function returns a character string representation of the user name
associated with the effective user ID of the calling process.
.Pp
If
@@ -68,25 +68,25 @@ file
bytes long.
Otherwise, the user name is copied to a static buffer.
.Sh RETURN VALUES
-If
+If
.Fa buf
is not the
-.Dv NULL
+.Dv NULL
pointer,
-.Fa buf
+.Fa buf
is returned;
otherwise the address of the static buffer is returned.
.Pp
-If the user name could not be determined, if
+If the user name could not be determined, if
.Fa buf
-is not the
+is not the
.Dv NULL
pointer, the null character
.Sq \e0
-will be stored at
+will be stored at
.Fa *buf ;
otherwise
-the
+the
.Dv NULL
pointer is returned.
.Sh SEE ALSO
@@ -99,16 +99,16 @@ function conforms to
.St -p1003.1-88 .
.Sh BUGS
Due to irreconcilable differences in historic implementations,
-.Fn cuserid
+.Fn cuserid
was removed from the
-.St -p1003.1-90
+.St -p1003.1-90
standard.
This implementation exists purely for compatibility with existing programs.
-New programs should use one of the following three alternatives to
+New programs should use one of the following three alternatives to
obtain the user name:
.Pp
.Bl -enum -offset indent -compact
-.It
+.It
.Fn getlogin
to return the user's login name.
.It
@@ -123,10 +123,10 @@ The
.Fn cuserid
function uses
.Fn getpwuid ;
-thus the results of a user's call to
+thus the results of a user's call to
.Fn getpwent ,
.Fn getpwnam
or
.Fn getpwuid
-will be overwritten by subsequent calls to
+will be overwritten by subsequent calls to
.Fn cuserid .