summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 11:37:28 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 11:37:28 +0000
commitffbc2b20d6f53275f7df6b2dcd2b699ee239fefd (patch)
tree18b233451d712295c943998edc6ef758b7ceafd0
parent6f0d19accbba4a1917d5f114b590cbc8adcb0cff (diff)
- section reorder
- clean up .Xr's
-rw-r--r--lib/libutil/fmt_scaled.328
-rw-r--r--lib/libutil/login_fbtab.310
-rw-r--r--lib/libutil/openpty.310
-rw-r--r--lib/libutil/scsi.324
4 files changed, 36 insertions, 36 deletions
diff --git a/lib/libutil/fmt_scaled.3 b/lib/libutil/fmt_scaled.3
index 3ca96fe9f54..6a63675d28a 100644
--- a/lib/libutil/fmt_scaled.3
+++ b/lib/libutil/fmt_scaled.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fmt_scaled.3,v 1.1 2003/05/15 01:26:26 ian Exp $
+.\" $OpenBSD: fmt_scaled.3,v 1.2 2003/06/02 11:37:27 jmc Exp $
.\" Copyright (c) 2001, 2003 Ian Darwin. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -103,17 +103,6 @@ else
.Sh SEE ALSO
.Xr printf 3 ,
.Xr scanf 3
-.Sh BUGS
-Some of the scale factors have misleading meanings in lower case
-(p for P is incorrect; p should be pico- and P for Peta-).
-However, we bend the SI rules in favor of common sense here.
-A person creating a disk partition of "100m" is unlikely to require
-100 millibytes (i.e., 0.1 byte) of storage in the partition;
-100 megabytes is the only reasonable interpretation.
-.Pp
-Cannot represent the larger scale factors on all architectures.
-.Pp
-Ignores the current locale.
.Sh HISTORY
The functions
.Fn fmt_scaled
@@ -123,10 +112,21 @@ first appeared in
.Ox 3.4 .
.Sh AUTHORS
Ken Stailey wrote the first version of the code that became
-.Xr fmt_scaled 3 ,
+.Fn fmt_scaled ,
originally inside
.Ox
.Xr df 1 .
Ian Darwin excerpted this and made it into a library routine
(with significant help from Paul Janzen), and wrote
-.Xr scan_scaled 3 .
+.Fn scan_scaled .
+.Sh BUGS
+Some of the scale factors have misleading meanings in lower case
+(p for P is incorrect; p should be pico- and P for Peta-).
+However, we bend the SI rules in favor of common sense here.
+A person creating a disk partition of "100m" is unlikely to require
+100 millibytes (i.e., 0.1 byte) of storage in the partition;
+100 megabytes is the only reasonable interpretation.
+.Pp
+Cannot represent the larger scale factors on all architectures.
+.Pp
+Ignores the current locale.
diff --git a/lib/libutil/login_fbtab.3 b/lib/libutil/login_fbtab.3
index ed10ba988af..c6bb00ba447 100644
--- a/lib/libutil/login_fbtab.3
+++ b/lib/libutil/login_fbtab.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: login_fbtab.3,v 1.8 2002/06/21 16:37:11 millert Exp $
+.\" $OpenBSD: login_fbtab.3,v 1.9 2003/06/02 11:37:27 jmc Exp $
.\"
.\" Copyright 1995 by Wietse Venema. All rights reserved. Some individual
.\" files may be covered by other copyrights.
@@ -35,15 +35,15 @@ function reads the
file and implements device security as described in the
.Xr fbtab 5
manual page.
+.Sh FILES
+.Bl -tag -width /etc/fbtab -compact
+.It Pa /etc/fbtab
+.El
.Sh DIAGNOSTICS
Problems are reported via the
.Xr syslogd 8
daemon with the severity of
.Dv LOG_ERR .
-.Sh FILES
-.Bl -tag -width /etc/fbtab -compact
-.It Pa /etc/fbtab
-.El
.Sh SEE ALSO
.Xr fbtab 5
.Sh AUTHORS
diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3
index b25c55fc8e7..9c1c44d277b 100644
--- a/lib/libutil/openpty.3
+++ b/lib/libutil/openpty.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openpty.3,v 1.9 2003/05/23 12:31:32 jmc Exp $
+.\" $OpenBSD: openpty.3,v 1.10 2003/06/02 11:37:27 jmc Exp $
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -133,6 +133,10 @@ and the child process of
return 0, and the parent process of
.Fn forkpty
returns the process ID of the child process.
+.Sh FILES
+.Bl -tag -width /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef] -compact
+.It Pa /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef]
+.El
.Sh ERRORS
.Fn openpty
will fail if:
@@ -153,9 +157,5 @@ will fail if either
or
.Fn fork
fails.
-.Sh FILES
-.Bl -tag -width /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef] -compact
-.It Pa /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef]
-.El
.Sh SEE ALSO
.Xr fork 2
diff --git a/lib/libutil/scsi.3 b/lib/libutil/scsi.3
index 54aa6598f4c..e2709cba964 100644
--- a/lib/libutil/scsi.3
+++ b/lib/libutil/scsi.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scsi.3,v 1.9 2003/05/23 12:31:32 jmc Exp $
+.\" $OpenBSD: scsi.3,v 1.10 2003/06/02 11:37:27 jmc Exp $
.\" Copyright (c) 1994 HD Associates (hd@world.std.com)
.\" All rights reserved.
.\"
@@ -332,17 +332,6 @@ returns the result of the ioctl call.
.Sh SEE ALSO
.Xr scsi 4 ,
.Xr scsi 8
-.Sh BUGS
-This only works completely for the 1542C.
-The host adapter code
-that sets up the residual amount of data transfer has to be added
-to each individual adapter.
-This library is usable on the other
-host adapters; however, the SCSI driver pretends that the proper
-amount of data is always transferred.
-If you have an Adaptec 174x
-and can hack contact dufault@hda.com and you can have the code to
-calculate residual data for the 174x series to integrate and test.
.Sh HISTORY
Many systems have comparable interfaces to permit a user to construct a
SCSI command in user space.
@@ -355,3 +344,14 @@ go here; Peter Dufault first read about it in a 1989 Sun Expert magazine.
Peter Dufault implemented a clone of SGI's interface in 386bsd that
led to this library and the related kernel ioctl.
If anyone needs that for compatibility contact dufault@hda.com.
+.Sh BUGS
+This only works completely for the 1542C.
+The host adapter code
+that sets up the residual amount of data transfer has to be added
+to each individual adapter.
+This library is usable on the other
+host adapters; however, the SCSI driver pretends that the proper
+amount of data is always transferred.
+If you have an Adaptec 174x
+and can hack contact dufault@hda.com and you can have the code to
+calculate residual data for the 174x series to integrate and test.