Browse Source

- section reorder

- clean up .Xr's
OPENBSD_3_4
jmc 21 years ago
parent
commit
134f7e2634
4 changed files with 36 additions and 36 deletions
  1. +14
    -14
      src/lib/libutil/fmt_scaled.3
  2. +5
    -5
      src/lib/libutil/login_fbtab.3
  3. +5
    -5
      src/lib/libutil/openpty.3
  4. +12
    -12
      src/lib/libutil/scsi.3

+ 14
- 14
src/lib/libutil/fmt_scaled.3 View File

@ -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. .\" Copyright (c) 2001, 2003 Ian Darwin. All rights reserved.
.\" .\"
.\" Redistribution and use in source and binary forms, with or without .\" Redistribution and use in source and binary forms, with or without
@ -103,17 +103,6 @@ else
.Sh SEE ALSO .Sh SEE ALSO
.Xr printf 3 , .Xr printf 3 ,
.Xr scanf 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 .Sh HISTORY
The functions The functions
.Fn fmt_scaled .Fn fmt_scaled
@ -123,10 +112,21 @@ first appeared in
.Ox 3.4 . .Ox 3.4 .
.Sh AUTHORS .Sh AUTHORS
Ken Stailey wrote the first version of the code that became Ken Stailey wrote the first version of the code that became
.Xr fmt_scaled 3 ,
.Fn fmt_scaled ,
originally inside originally inside
.Ox .Ox
.Xr df 1 . .Xr df 1 .
Ian Darwin excerpted this and made it into a library routine Ian Darwin excerpted this and made it into a library routine
(with significant help from Paul Janzen), and wrote (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.

+ 5
- 5
src/lib/libutil/login_fbtab.3 View File

@ -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 .\" Copyright 1995 by Wietse Venema. All rights reserved. Some individual
.\" files may be covered by other copyrights. .\" files may be covered by other copyrights.
@ -35,15 +35,15 @@ function reads the
file and implements device security as described in the file and implements device security as described in the
.Xr fbtab 5 .Xr fbtab 5
manual page. manual page.
.Sh FILES
.Bl -tag -width /etc/fbtab -compact
.It Pa /etc/fbtab
.El
.Sh DIAGNOSTICS .Sh DIAGNOSTICS
Problems are reported via the Problems are reported via the
.Xr syslogd 8 .Xr syslogd 8
daemon with the severity of daemon with the severity of
.Dv LOG_ERR . .Dv LOG_ERR .
.Sh FILES
.Bl -tag -width /etc/fbtab -compact
.It Pa /etc/fbtab
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr fbtab 5 .Xr fbtab 5
.Sh AUTHORS .Sh AUTHORS


+ 5
- 5
src/lib/libutil/openpty.3 View File

@ -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 .\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved. .\" 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 return 0, and the parent process of
.Fn forkpty .Fn forkpty
returns the process ID of the child process. 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 .Sh ERRORS
.Fn openpty .Fn openpty
will fail if: will fail if:
@ -153,9 +157,5 @@ will fail if either
or or
.Fn fork .Fn fork
fails. fails.
.Sh FILES
.Bl -tag -width /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef] -compact
.It Pa /dev/[pt]ty[pqrstuvwxyzPQRST][0123456789abcdef]
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr fork 2 .Xr fork 2

+ 12
- 12
src/lib/libutil/scsi.3 View File

@ -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) .\" Copyright (c) 1994 HD Associates (hd@world.std.com)
.\" All rights reserved. .\" All rights reserved.
.\" .\"
@ -332,17 +332,6 @@ returns the result of the ioctl call.
.Sh SEE ALSO .Sh SEE ALSO
.Xr scsi 4 , .Xr scsi 4 ,
.Xr scsi 8 .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 .Sh HISTORY
Many systems have comparable interfaces to permit a user to construct a Many systems have comparable interfaces to permit a user to construct a
SCSI command in user space. 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 Peter Dufault implemented a clone of SGI's interface in 386bsd that
led to this library and the related kernel ioctl. led to this library and the related kernel ioctl.
If anyone needs that for compatibility contact dufault@hda.com. 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.

Loading…
Cancel
Save