summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-02 21:13:10 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-02 21:13:10 +0000
commit76e7480783441f244936819623ce0b6fe5defca6 (patch)
tree43611f4943d1fe33d6688f223a83d4f9701d11a9 /lib/libutil
parent29e5383f53d6c31513512511f4ef639c1140c6bc (diff)
remove redundant .Pp macros
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/opendev.333
-rw-r--r--lib/libutil/readlabelfs.311
2 files changed, 26 insertions, 18 deletions
diff --git a/lib/libutil/opendev.3 b/lib/libutil/opendev.3
index fd9a878e2e3..3587b71a59b 100644
--- a/lib/libutil/opendev.3
+++ b/lib/libutil/opendev.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: opendev.3,v 1.6 1999/05/27 16:21:00 aaron Exp $
+.\" $OpenBSD: opendev.3,v 1.7 1999/07/02 21:13:07 aaron Exp $
.\"
.\" Copyright (c) 1996, Jason Downs. All rights reserved.
.\"
@@ -36,22 +36,27 @@
.Sh DESCRIPTION
The
.Fn opendev
-function opens a device using the "short form" name. This is typically
-"sd0" or "sd0c", for instance, which will be expanded to
+function opens a device using the
+.Dq short form
+name. This is typically
+.Dq sd0
+or
+.Dq sd0c ,
+for instance, which will be expanded to
.Pa /dev/rsd0c
on most architectures.
.Pp
The
-.Ar oflags
+.Fa oflags
are the same as the
-.Ar flags
+.Fa flags
passed to
.Xr open 2 .
.Pp
The
-.Ar dflags
+.Fa dflags
are specified by
-.Em OR Ns 'ing
+.Tn OR Ns 'ing
the following values:
.Pp
.Bd -literal -offset indent -compact
@@ -60,17 +65,19 @@ OPENDEV_DRCT attempt to open the device itself during expansion
.Ed
.Pp
If
-.Ar realpath
-is not NULL, it is modified to point at the fully expanded device name.
-.Pp
+.Fa realpath
+is not
+.Dv NULL ,
+it is modified to point at the fully expanded device name.
.Sh RETURN VALUES
The
.Fn opendev
return value and errors are the same as the return value and errors of
.Xr open 2 .
+.Sh SEE ALSO
+.Xr open 2
.Sh HISTORY
+The
.Fn opendev
-first appeared in
+function first appeared in
.Ox 1.2 .
-.Sh SEE ALSO
-.Xr open 2
diff --git a/lib/libutil/readlabelfs.3 b/lib/libutil/readlabelfs.3
index e2c4362d926..84183c86af4 100644
--- a/lib/libutil/readlabelfs.3
+++ b/lib/libutil/readlabelfs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: readlabelfs.3,v 1.2 1998/03/10 04:50:38 millert Exp $
+.\" $OpenBSD: readlabelfs.3,v 1.3 1999/07/02 21:13:07 aaron Exp $
.\"
.\" Copyright (c) 1996, Jason Downs. All rights reserved.
.\"
@@ -38,22 +38,23 @@ The
.Fn readlabelfs
function attempts to determine the filesystem type of the disk
partition specified by
-.Ar device
+.Fa device
and returns it in a short form that can be easily used to construct
arguments within
.Xr mount 8
and similar high-level filesystem utilties.
.Pp
If the
-.Ar verbose
+.Fa verbose
argument is not 0,
.Fn readlabelfs
will print appropiate error messages before returning. Otherwise, it
produces no output on the terminal.
-.Pp
.Sh RETURN VALUES
.Fn readlabelfs
-returns NULL upon error, or a valid filesystem type upon success.
+returns
+.Dv NULL
+upon error, or a valid filesystem type upon success.
.Sh HISTORY
.Fn readlabelfs
first appeared in