diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-09-02 17:28:08 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-09-02 17:28:08 +0000 |
commit | 64c4a9dee1a1a6088048f92887e09b5ad4f7abf6 (patch) | |
tree | 7c7d8847a6b306775d1e313c4b8078db8a4a6f41 /share | |
parent | 05ae9caba16772c6928cc244f6f478c58856c261 (diff) |
Minor fusses: OpenBSD tag, misused macros, codes references path.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/boot.9 | 1 | ||||
-rw-r--r-- | share/man/man9/copy.9 | 37 | ||||
-rw-r--r-- | share/man/man9/disk.9 | 42 | ||||
-rw-r--r-- | share/man/man9/doshutdownhooks.9 | 1 | ||||
-rw-r--r-- | share/man/man9/fetch.9 | 1 | ||||
-rw-r--r-- | share/man/man9/malloc.9 | 1 | ||||
-rw-r--r-- | share/man/man9/microtime.9 | 1 | ||||
-rw-r--r-- | share/man/man9/psignal.9 | 5 | ||||
-rw-r--r-- | share/man/man9/resettodr.9 | 1 | ||||
-rw-r--r-- | share/man/man9/shutdownhook_establish.9 | 1 | ||||
-rw-r--r-- | share/man/man9/sleep.9 | 1 | ||||
-rw-r--r-- | share/man/man9/time.9 | 1 | ||||
-rw-r--r-- | share/man/man9/timeout.9 | 1 |
13 files changed, 56 insertions, 38 deletions
diff --git a/share/man/man9/boot.9 b/share/man/man9/boot.9 index 06819e340d7..0e3fd3f8190 100644 --- a/share/man/man9/boot.9 +++ b/share/man/man9/boot.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: boot.9,v 1.4 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: boot.9,v 1.1 1995/11/25 21:24:48 perry Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9 index 7183daee28b..e777fb8dd7a 100644 --- a/share/man/man9/copy.9 +++ b/share/man/man9/copy.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: copy.9,v 1.5 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: copy.9,v 1.2 1996/01/09 03:23:04 thorpej Exp $ .\" .\" Copyright (c) 1996 Jason R. Thorpe. @@ -65,47 +66,47 @@ routines provide the following functionality: .Bl -tag -width "copyoutstr()" .It Fn copyin Copies -.Pa len +.Fa len bytes of data from the user-space address -.Pa uaddr +.Fa uaddr to the kernel-space address -.Pa kaddr . +.Fa kaddr . .It Fn copyout Copies -.Pa len +.Fa len bytes of data from the kernel-space address -.Pa kaddr +.Fa kaddr to the user-space address -.Pa uaddr . +.Fa uaddr . .It Fn copystr Copies a NULL-terminated string, at most -.Pa len +.Fa len bytes long, from kernel-space address -.Pa kfaddr +.Fa kfaddr to kernel-space address -.Pa kdaddr . +.Fa kdaddr . The number of bytes actually copied, including the terminating NULL, is returned in -.Pa *done . +.Fa *done . .It Fn copyinstr Copies a NULL-terminated string, at most -.Pa len +.Fa len bytes long, from user-space address -.Pa uaddr +.Fa uaddr to kernel-space address -.Pa kaddr . +.Fa kaddr . The number of bytes actually copied, including the terminating NULL, is returned in -.Pa *done . +.Fa *done . .It Fn copyoutstr Copies a NULL-terminated string, at most bytes long, from kernel-space address -.Pa kaddr +.Fa kaddr to user-space address -.Pa uaddr . +.Fa uaddr . The number of bytes actually copied, including the terminating NULL, is returned in -.Pa *done . +.Fa *done . .El .Sh RETURN VALUES The @@ -117,7 +118,7 @@ In addition, the and .Fn copyoutstr funtions return ENAMETOOLONG if the string is longer than -.Pa len +.Fa len bytes. .Sh SEE ALSO .Xr fetch 9 , diff --git a/share/man/man9/disk.9 b/share/man/man9/disk.9 index 82c3c61813a..9656fb748e3 100644 --- a/share/man/man9/disk.9 +++ b/share/man/man9/disk.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: disk.9,v 1.7 1999/07/02 20:11:52 aaron Exp $ +.\" $OpenBSD: disk.9,v 1.8 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: disk.9,v 1.2 1996/04/08 20:41:25 jtc Exp $ .\" .\" Copyright (c) 1995, 1996 Jason R. Thorpe. @@ -56,10 +56,12 @@ .Ft struct disk * .Fn disk_find "char *" .Sh DESCRIPTION -The OpenBSD generic disk framework is designed to provide flexible, +The +.Ox +generic disk framework is designed to provide flexible, scalable, and consistent handling of disk state and metrics information. The fundamental component of this framework is the -.Nm disk +.Nm structure, which is defined as follows: .Bd -literal struct disk { @@ -320,37 +322,41 @@ particular disk. For this function, the .Fn disk_resetstat routine is provided. .Sh CODE REFERENCES -This section describes places within the OpenBSD source tree where actual -code implementing or utilizing the disk framework can be found. All -pathnames are relative to -.Nm /usr/src . -.Pp The disk framework itself is implemented within the file -.Nm sys/kern/subr_disk.c . +.Pa sys/kern/subr_disk.c . Data structures and function prototypes for the framework are located in -.Nm sys/sys/disk.h . +.Pa sys/sys/disk.h . .Pp -The OpenBSD machine-independent SCSI disk and CD-ROM drivers utilize the +The +.Ox +machine-independent SCSI disk and CD-ROM drivers utilize the disk framework. They are located in -.Nm sys/scsi/sd.c +.Pa sys/scsi/sd.c and -.Nm sys/scsi/cd.c . +.Pa sys/scsi/cd.c . .Pp -The OpenBSD +The +.Ox .Nm ccd and .Nm vnd drivers utilize the detachment capability of the framework. They are located in -.Nm sys/dev/ccd.c +.Pa sys/dev/ccd.c and -.Nm sys/dev/vnd.c . +.Pa sys/dev/vnd.c . .Sh AUTHOR -The OpenBSD generic disk framework was architected and implemented within NetBSD +The +.Ox +generic disk framework was architected and implemented within +.Nx by Jason R. Thorpe <thorpej@NetBSD.ORG>. .Sh SEE ALSO .Xr ccd 4 , .Xr vnd 4 , .Xr spl 9 . .Sh HISTORY -The OpenBSD generic disk framework first appeared in NetBSD at version 1.1A. +The +.Ox +generic disk framework first appeared in +.Nx at version 1.1A. diff --git a/share/man/man9/doshutdownhooks.9 b/share/man/man9/doshutdownhooks.9 index 9c8b3dcff72..a3e67694e0b 100644 --- a/share/man/man9/doshutdownhooks.9 +++ b/share/man/man9/doshutdownhooks.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: doshutdownhooks.9,v 1.4 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: doshutdownhooks.9,v 1.1 1995/11/25 21:24:49 perry Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9 index 1d19ef7431a..f27a9672350 100644 --- a/share/man/man9/fetch.9 +++ b/share/man/man9/fetch.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: fetch.9,v 1.7 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: fetch.9,v 1.2 1996/01/09 21:59:24 perry Exp $ .\" .\" Copyright (c) 1996 Jason R. Thorpe. diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 154b5311e3e..5ba53a7a364 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: malloc.9,v 1.6 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. diff --git a/share/man/man9/microtime.9 b/share/man/man9/microtime.9 index d1a2ff4b373..b0bdeb0e0f0 100644 --- a/share/man/man9/microtime.9 +++ b/share/man/man9/microtime.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: microtime.9,v 1.2 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: microtime.9,v 1.2 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9 index 2d2d97dccb0..a120690a288 100644 --- a/share/man/man9/psignal.9 +++ b/share/man/man9/psignal.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: psignal.9,v 1.2 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: psignal.9,v 1.5 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -122,8 +123,8 @@ If .Fa pgid is zero no action is taken. .Sh CODE REFERENCES -These functions are implemented in -.Pa /usr/src/sys/kern/kern_sig.c . +These functions are implemented in the file +.Pa sys/kern/kern_sig.c . .Sh SEE ALSO .Xr sigaction 2 , .Xr tsleep 9 diff --git a/share/man/man9/resettodr.9 b/share/man/man9/resettodr.9 index 76e875300fe..ed8cb8ebbfc 100644 --- a/share/man/man9/resettodr.9 +++ b/share/man/man9/resettodr.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: resettodr.9,v 1.4 1999/09/02 17:28:06 espie Exp $ .\" $NetBSD: resettodr.9,v 1.1 1995/11/25 21:24:51 perry Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou diff --git a/share/man/man9/shutdownhook_establish.9 b/share/man/man9/shutdownhook_establish.9 index 9e70584eb0a..7e66a32110a 100644 --- a/share/man/man9/shutdownhook_establish.9 +++ b/share/man/man9/shutdownhook_establish.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: shutdownhook_establish.9,v 1.6 1999/09/02 17:28:07 espie Exp $ .\" $NetBSD: shutdownhook_establish.9,v 1.1 1995/11/25 21:24:52 perry Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index a30bb43c95a..762288fedf8 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: sleep.9,v 1.2 1999/09/02 17:28:07 espie Exp $ .\" $NetBSD: sleep.9,v 1.11 1999/03/24 06:15:12 mycroft Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. diff --git a/share/man/man9/time.9 b/share/man/man9/time.9 index b71177b8b65..16074cfc008 100644 --- a/share/man/man9/time.9 +++ b/share/man/man9/time.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: time.9,v 1.6 1999/09/02 17:28:07 espie Exp $ .\" $NetBSD: time.9,v 1.1 1995/11/25 21:24:53 perry Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index 34c14755992..4989c7a010d 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -1,3 +1,4 @@ +.\" $OpenBSD: timeout.9,v 1.2 1999/09/02 17:28:07 espie Exp $ .\" $NetBSD: timeout.9,v 1.7 1999/03/16 00:40:48 garbled Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. |