summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/hardclock.94
-rw-r--r--share/man/man9/hash.96
-rw-r--r--share/man/man9/hashinit.96
-rw-r--r--share/man/man9/hook_establish.94
-rw-r--r--share/man/man9/inittodr.94
-rw-r--r--share/man/man9/intro.94
-rw-r--r--share/man/man9/kern.914
-rw-r--r--share/man/man9/malloc.96
-rw-r--r--share/man/man9/mbuf.928
-rw-r--r--share/man/man9/md5.910
-rw-r--r--share/man/man9/microtime.94
11 files changed, 46 insertions, 44 deletions
diff --git a/share/man/man9/hardclock.9 b/share/man/man9/hardclock.9
index a0191ffac0f..ed8b206bf6b 100644
--- a/share/man/man9/hardclock.9
+++ b/share/man/man9/hardclock.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hardclock.9,v 1.4 2003/03/08 23:17:18 jmc Exp $
+.\" $OpenBSD: hardclock.9,v 1.5 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Kenneth R Westerback
.\" All rights reserved.
@@ -58,7 +58,7 @@ If there is no separate statistics clock, execute
.It
Increment the time of day, implementing any adjustments requested by
.Xr adjtime 2
-or required as a result of running a ntp daemon or other configured
+or required as a result of running an NTP daemon or other configured
external clock.
.It
Update the real-time timeout queue, calling
diff --git a/share/man/man9/hash.9 b/share/man/man9/hash.9
index 378a7273bdd..24e672f6147 100644
--- a/share/man/man9/hash.9
+++ b/share/man/man9/hash.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hash.9,v 1.4 2002/12/09 22:46:11 cloder Exp $
+.\" $OpenBSD: hash.9,v 1.5 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Tobias Weingartner
.\" All rights reserved.
@@ -132,9 +132,9 @@ sample_use(char *str, int len)
}
.Ed
.Sh SEE ALSO
-.Xr free 9
+.Xr free 9 ,
.Xr hashinit 9 ,
-.Xr malloc 9 ,
+.Xr malloc 9
.Sh LIMITATIONS
The
.Fn hash32
diff --git a/share/man/man9/hashinit.9 b/share/man/man9/hashinit.9
index 462822d6cb3..2918037c421 100644
--- a/share/man/man9/hashinit.9
+++ b/share/man/man9/hashinit.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hashinit.9,v 1.2 2002/06/21 19:14:14 weingart Exp $
+.\" $OpenBSD: hashinit.9,v 1.3 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Tobias Weingartner
.\" All rights reserved.
@@ -65,9 +65,9 @@ The
.Fn hashinit
function returns a pointer to the allocated and initialized hash table.
.Sh SEE ALSO
-.Xr free 9
+.Xr free 9 ,
.Xr hash 9 ,
-.Xr malloc 9 ,
+.Xr malloc 9
.Sh LIMITATIONS
The
.Fn hashinit
diff --git a/share/man/man9/hook_establish.9 b/share/man/man9/hook_establish.9
index 3df517be9c4..be466b1f99e 100644
--- a/share/man/man9/hook_establish.9
+++ b/share/man/man9/hook_establish.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: hook_establish.9,v 1.3 2003/03/06 04:03:40 david Exp $
+.\" $OpenBSD: hook_establish.9,v 1.4 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Niklas Hallqvist.
.\" All rights reserved.
@@ -73,7 +73,7 @@ is invalid, the result of
.Fn hook_disestablish
is undefined.
.Pp
-Both the startup- and shutdownhooks systems uses this API for their
+Both the startup- and shutdownhooks systems use this API for their
implementation.
.Sh RETURN VALUES
If successful,
diff --git a/share/man/man9/inittodr.9 b/share/man/man9/inittodr.9
index 48855ecad4b..006c3f67922 100644
--- a/share/man/man9/inittodr.9
+++ b/share/man/man9/inittodr.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inittodr.9,v 1.8 2000/12/22 00:13:34 avsm Exp $
+.\" $OpenBSD: inittodr.9,v 1.9 2003/04/17 05:08:39 jmc Exp $
.\" $NetBSD: inittodr.9,v 1.2 1996/03/27 21:16:06 jtc Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -62,7 +62,7 @@ is used as the current time.
If the battery-backed clock appears invalid, and
.Fa base
appears nonsensical or was not provided (was given as zero),
-a arbitrary base (typically some time in the late 1970s)
+an arbitrary base (typically some time in the late 1970s)
will be used.
.El
.Pp
diff --git a/share/man/man9/intro.9 b/share/man/man9/intro.9
index 755223534d3..f9523968e2f 100644
--- a/share/man/man9/intro.9
+++ b/share/man/man9/intro.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: intro.9,v 1.9 2001/08/22 12:15:46 heko Exp $
+.\" $OpenBSD: intro.9,v 1.10 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 1996 Michael Shalayeff
.\"
@@ -36,7 +36,7 @@
.Nm intro
.Nd "introduction to the kernel internals"
.Sh DESCRIPTION
-The manual pages in section 9 contain information related to the
+The manual pages in section 9 contain information related to the
internal kernel data structures, variables and functions.
.Sh CODE REFERENCES
This section describes places within the
diff --git a/share/man/man9/kern.9 b/share/man/man9/kern.9
index bda4a311ecc..2440f38e0cf 100644
--- a/share/man/man9/kern.9
+++ b/share/man/man9/kern.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kern.9,v 1.2 2002/11/08 08:08:47 mpech Exp $
+.\" $OpenBSD: kern.9,v 1.3 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2002 CubeSoft Communications, Inc. <http://www.csoft.org>
.\"
@@ -10,7 +10,7 @@
.\" 2. Neither the name of CubeSoft Communications, Inc, nor the names of its
.\" contributors may be used to endorse or promote products derived from
.\" this software without specific prior written permission.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -30,7 +30,7 @@
.Nm kern
.Nd kernel library routines
.Sh SYNOPSIS
-#include <lib/libkern.h>
+.Fd #include <lib/libkern.h>
.Sh DESCRIPTION
The
.Nm
@@ -226,19 +226,19 @@ function is discouraged in favor of
The
.Fn getsn
function reads user input from the console and returns on newline.
-The result is writte into
+The result is written into
.Fa cp ,
which is assumed to be
.Fa size
bytes long.
.Sh SEE ALSO
-.Xr arc4random 9 ,
-.Xr string 3 ,
.Xr assert 3 ,
.Xr bcmp 3 ,
+.Xr ffs 3 ,
.Xr memchr 3 ,
.Xr memcmp 3 ,
-.Xr ffs 3
+.Xr string 3 ,
+.Xr arc4random 9
.Sh STANDARDS
The
.Fn abs ,
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index c2e1f7ad36d..39c98f9b225 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: malloc.9,v 1.24 2003/04/02 16:04:19 jmc Exp $
+.\" $OpenBSD: malloc.9,v 1.25 2003/04/17 05:08:39 jmc Exp $
.\" $NetBSD: malloc.9,v 1.2 1996/10/30 05:29:54 lukem Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -106,7 +106,7 @@ Note that
.Dv M_WAITOK
is conveniently defined to be 0, and hence maybe or'ed into the
.Fa flags
-argument to indicate that it's Ok to wait for resources.
+argument to indicate that it's OK to wait for resources.
.El
.Pp
Currently, only one flag is defined.
@@ -355,7 +355,7 @@ should be set to the memory size to debug.
.Va debug_malloc_size_lo
and
.Va debug_malloc_size_hi
-Can be used to specify a range of sizes if the exact size to debug is not
+can be used to specify a range of sizes if the exact size to debug is not
known.
When those are used,
.Va debug_malloc_size
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index cdd7ab7917b..2283e2980fe 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.10 2003/03/14 19:44:32 jason Exp $
+.\" $OpenBSD: mbuf.9,v 1.11 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -69,7 +69,7 @@
.Fn m_copyback "struct mbuf *m0" "int off" "int len" "caddr_t cp"
.Ft void
.Fn m_freem "struct mbuf *m"
-.Ft void
+.Ft void
.Fn m_reclaim "void"
.Ft void
.Fn m_copydata "struct mbuf *m" "int off" "int len" "caddr_t cp"
@@ -286,8 +286,8 @@ The data part has then the following elements:
.Bl -tag -width foobarmoocow
.It Fa m_pkthdr
packet header, containing the length of the data, a pointer to the
-interface onwhich the data was received and a generic pointer to a
-structure containing information for IPsec processing.
+interface on which the data was received and a generic pointer to a
+structure containing information for IPsec processing.
.It Fa m_pktdat
buffer holding the data (size MHLEN).
.El
@@ -311,9 +311,9 @@ cluster.
.Pp
When both the M_EXT and M_PKTHDR flags are set, an external storage buffer
is being used to store the data and this data contains a packet header.
-The structure used is the same than the previous one except that the
+The structure used is the same as the previous one except that the
.Fa m_pkthdr
-element is not empty, it contains the same information than when
+element is not empty, it contains the same information as when
M_PKTHDR is used alone.
.Pp
.Bl -tag -width compact
@@ -342,7 +342,7 @@ It does not copy clusters, it just increases their reference count.
.It Fn m_copym2 "struct mbuf *m" "int off0" "int len" "int wait"
The same as
.Fn m_copym
-except that it copies cluster mbufs, where
+except that it copies cluster mbufs, whereas
.Fn m_copym
just increases the reference count of the clusters.
.It Fn m_free "struct mbuf *m"
@@ -368,7 +368,9 @@ argument is
the function may call
.Xr sleep 9
to await resources.
-If how is
+If
+.Fa how
+is
.Fa M_DONTWAIT
and resources are not available,
.Fn m_get
@@ -552,7 +554,7 @@ copy.
Returns NULL on failure.
.It Fn m_zero "struct mbuf *m"
Zeroize the data part of the mbufs in the mbuf chain pointed to by
-.Fa m
+.Fa m .
.It Fn m_apply "struct mbuf *m" "int off" "int len" \
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
Apply the function
@@ -567,7 +569,7 @@ bytes.
.It Fn mtod "struct mbuf *m" "datatype"
Return a pointer to the data contained in the specified mbuf
.Fa m
-casted to
+cast to
.Fa datatype .
.It Fn MCLGET "struct mbuf *m" "int how"
Allocate and add an mbuf cluster to the mbuf pointed to by
@@ -634,11 +636,11 @@ to
.Sh SEE ALSO
.Xr netstat 1 ,
.Xr mbuf_tags 9 ,
-.Pa /usr/share/doc/smm/18.net.
+.Pa /usr/share/doc/smm/18.net .
.Rs
.%A Jun-Ichiro Hagino
-.%T "Mbuf issues in 4.4BSD IPv6/IPsec support (experiences from KAME IPv6/IPsec implementation)"
-.%B "Proceedings of the Freenix Track: 2000 USENIX Annual Technical Conference"
+.%T Mbuf issues in 4.4BSD IPv6/IPsec support (experiences from KAME IPv6/IPsec implementation)
+.%B Proceedings of the Freenix Track: 2000 USENIX Annual Technical Conference
.%D June 2000
.Re
.Sh CODE REFERENCES
diff --git a/share/man/man9/md5.9 b/share/man/man9/md5.9
index e2ef10c25bf..92da84aee82 100644
--- a/share/man/man9/md5.9
+++ b/share/man/man9/md5.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: md5.9,v 1.6 2001/10/05 14:45:54 mpech Exp $
+.\" $OpenBSD: md5.9,v 1.7 2003/04/17 05:08:39 jmc Exp $
.\"
.\" Copyright (c) 1996 Michael Shalayeff
.\" All rights reserved.
@@ -36,10 +36,10 @@
.Nd message digest routines
.Sh SYNOPSIS
.Fd #include <sys/kernel.h>
-.Va void MD5Init(u_int32_t buf[4]);
-.br
-.Va void MD5Transform(u_int32_t buf[4], u_int32_t const in[16]);
-.br
+.Ft void
+.Fn MD5Init "u_int32_t buf[4]"
+.Ft void
+.Fn MD5Transform "u_int32_t buf[4]" "u_int32_t const in[16]"
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man9/microtime.9 b/share/man/man9/microtime.9
index 20b4a09e2ca..a0f3b57a8ad 100644
--- a/share/man/man9/microtime.9
+++ b/share/man/man9/microtime.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: microtime.9,v 1.5 2003/03/06 04:03:40 david Exp $
+.\" $OpenBSD: microtime.9,v 1.6 2003/04/17 05:08:39 jmc Exp $
.\" $NetBSD: microtime.9,v 1.2 1999/03/16 00:40:47 garbled Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -61,8 +61,8 @@ are guaranteed to return a system time greater than or equal to the
system time returned in any previous calls.
.Sh SEE ALSO
.Xr settimeofday 2 ,
-.Xr hz 9 ,
.Xr hardclock 9 ,
+.Xr hz 9 ,
.Xr inittodr 9 ,
.Xr time 9
.Sh CODE REFERENCES