diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-09-14 15:14:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-09-14 15:14:56 +0000 |
commit | 6ec4b7c12056eccf19484fcc6fb0fc85bd3bd4f1 (patch) | |
tree | d57f072e54de736bcf0ecab19663254ad7b2d1ac /share/man | |
parent | 6f120108f82e0339699bb24acee631bef13eb293 (diff) |
Remove useless quoting from .Fo and .Fn function names, to prevent
development of a cargo cult in case people look at existing files
for examples. This achieves a consistent .Fo and .Fn quoting style
across the whole tree.
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man9/SipHash24.9 | 14 | ||||
-rw-r--r-- | share/man/man9/aml_evalnode.9 | 14 | ||||
-rw-r--r-- | share/man/man9/bufq_init.9 | 20 | ||||
-rw-r--r-- | share/man/man9/fork1.9 | 6 | ||||
-rw-r--r-- | share/man/man9/hardclock.9 | 6 | ||||
-rw-r--r-- | share/man/man9/if_rxr_init.9 | 16 | ||||
-rw-r--r-- | share/man/man9/log.9 | 6 | ||||
-rw-r--r-- | share/man/man9/ml_init.9 | 40 | ||||
-rw-r--r-- | share/man/man9/mq_init.9 | 52 | ||||
-rw-r--r-- | share/man/man9/physio.9 | 6 | ||||
-rw-r--r-- | share/man/man9/printf.9 | 16 | ||||
-rw-r--r-- | share/man/man9/psignal.9 | 10 | ||||
-rw-r--r-- | share/man/man9/sensor_attach.9 | 20 | ||||
-rw-r--r-- | share/man/man9/srp_enter.9 | 26 | ||||
-rw-r--r-- | share/man/man9/task_add.9 | 16 | ||||
-rw-r--r-- | share/man/man9/timeout.9 | 32 | ||||
-rw-r--r-- | share/man/man9/tsleep.9 | 14 | ||||
-rw-r--r-- | share/man/man9/vwaitforio.9 | 6 |
18 files changed, 160 insertions, 160 deletions
diff --git a/share/man/man9/SipHash24.9 b/share/man/man9/SipHash24.9 index 37189a0a4e1..d596e40c8a1 100644 --- a/share/man/man9/SipHash24.9 +++ b/share/man/man9/SipHash24.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: SipHash24.9,v 1.5 2015/02/21 02:43:08 tedu Exp $ +.\" $OpenBSD: SipHash24.9,v 1.6 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 21 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt SIPHASH24 9 .Os .Sh NAME @@ -27,15 +27,15 @@ .Sh SYNOPSIS .In crypto/siphash.h .Ft void -.Fn "SipHash24_Init" "SIPHASH_CTX *ctx" "const SIPHASH_KEY *key" +.Fn SipHash24_Init "SIPHASH_CTX *ctx" "const SIPHASH_KEY *key" .Ft void -.Fn "SipHash24_Update" "SIPHASH_CTX *ctx" "const void *data" "size_t len" +.Fn SipHash24_Update "SIPHASH_CTX *ctx" "const void *data" "size_t len" .Ft uint64_t -.Fn "SipHash24_End" "SIPHASH_CTX *ctx" +.Fn SipHash24_End "SIPHASH_CTX *ctx" .Ft void -.Fn "SipHash24_Final" "void *digest" "SIPHASH_CTX *ctx" +.Fn SipHash24_Final "void *digest" "SIPHASH_CTX *ctx" .Ft uint64_t -.Fn "SipHash24" "const SIPHASH_KEY *key" "const void *data" "size_t len" +.Fn SipHash24 "const SIPHASH_KEY *key" "const void *data" "size_t len" .Sh DESCRIPTION The SipHash algorithm is a keyed hash algorithm optimised for short inputs which produces a 64-bit digest of data. diff --git a/share/man/man9/aml_evalnode.9 b/share/man/man9/aml_evalnode.9 index d11c78d5844..22b0b66edb4 100644 --- a/share/man/man9/aml_evalnode.9 +++ b/share/man/man9/aml_evalnode.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: aml_evalnode.9,v 1.10 2014/01/21 03:15:46 schwarze Exp $ +.\" $OpenBSD: aml_evalnode.9,v 1.11 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2007 Michael Knudsen <mk@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt AML_EVALNODE 9 .Os .Sh NAME @@ -31,19 +31,19 @@ .In dev/acpi/amltypes.h .In dev/acpi/dsdt.h .Ft int -.Fn "aml_evalnode" "struct acpi_softc *sc" "struct aml_node *node" \ +.Fn aml_evalnode "struct acpi_softc *sc" "struct aml_node *node" \ "int argc" "struct aml_value *argv" "struct aml_value *res" .Ft int -.Fn "aml_evalname" "struct acpi_softc *sc" "struct aml_node *parent" \ +.Fn aml_evalname "struct acpi_softc *sc" "struct aml_node *parent" \ "const char *name" "int argc" "struct aml_value *argv" \ "struct aml_value *res" .Ft int -.Fn "aml_find_node" "struct aml_node *node" "const char *name" \ +.Fn aml_find_node "struct aml_node *node" "const char *name" \ "int (*cbproc)(struct aml_node *, void *arg)" "void *arg" .Ft void -.Fn "aml_freevalue" "struct aml_value *val" +.Fn aml_freevalue "struct aml_value *val" .Ft int64_t -.Fn "aml_val2int" "struct aml_value *rval" +.Fn aml_val2int "struct aml_value *rval" .Sh DESCRIPTION The AML API handles decoding and evaluation of the AML code embedded in a machine's ACPI tables. diff --git a/share/man/man9/bufq_init.9 b/share/man/man9/bufq_init.9 index 11ba2215577..954397f3707 100644 --- a/share/man/man9/bufq_init.9 +++ b/share/man/man9/bufq_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bufq_init.9,v 1.4 2014/08/08 20:49:38 jmc Exp $ +.\" $OpenBSD: bufq_init.9,v 1.5 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2013 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 8 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt BUFQ_INIT 9 .Os .Sh NAME @@ -34,21 +34,21 @@ .Sh SYNOPSIS .In sys/buf.h .Ft int -.Fn "bufq_init" "struct bufq *bufq" "int type" +.Fn bufq_init "struct bufq *bufq" "int type" .Ft int -.Fn "bufq_switch" "struct bufq *bufq" "int type" +.Fn bufq_switch "struct bufq *bufq" "int type" .Ft void -.Fn "bufq_destroy" "struct bufq *bufq" +.Fn bufq_destroy "struct bufq *bufq" .Ft void -.Fn "bufq_queue" "struct bufq *bufq" "struct buf *bp" +.Fn bufq_queue "struct bufq *bufq" "struct buf *bp" .Ft struct buf * -.Fn "bufq_dequeue" "struct bufq *bufq" +.Fn bufq_dequeue "struct bufq *bufq" .Ft void -.Fn "bufq_requeue" "struct bufq *bufq" "struct buf *bp" +.Fn bufq_requeue "struct bufq *bufq" "struct buf *bp" .Ft int -.Fn "bufq_peek" "struct bufq *bufq" +.Fn bufq_peek "struct bufq *bufq" .Ft void -.Fn "bufq_drain" "struct bufq *bufq" +.Fn bufq_drain "struct bufq *bufq" .Sh DESCRIPTION The bufq API implements queueing and scheduling of I/O operations on disk devices. diff --git a/share/man/man9/fork1.9 b/share/man/man9/fork1.9 index 1167c141a3f..49f2638b2a3 100644 --- a/share/man/man9/fork1.9 +++ b/share/man/man9/fork1.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fork1.9,v 1.25 2014/07/07 05:31:42 matthew Exp $ +.\" $OpenBSD: fork1.9,v 1.26 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: fork1.9,v 1.3 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: July 7 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt FORK1 9 .Os .Sh NAME @@ -39,7 +39,7 @@ .In sys/types.h .In sys/proc.h .Ft int -.Fo "fork1" +.Fo fork1 .Fa "struct proc *p1" .Fa "int flags" .Fa "void *stack" diff --git a/share/man/man9/hardclock.9 b/share/man/man9/hardclock.9 index 86afadb479f..f9a6ec6dc75 100644 --- a/share/man/man9/hardclock.9 +++ b/share/man/man9/hardclock.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: hardclock.9,v 1.9 2013/06/04 19:27:07 schwarze Exp $ +.\" $OpenBSD: hardclock.9,v 1.10 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2001 Kenneth R Westerback .\" All rights reserved. @@ -24,7 +24,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF .\" THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 4 2013 $ +.Dd $Mdocdate: September 14 2015 $ .Dt HARDCLOCK 9 .Os .Sh NAME @@ -33,7 +33,7 @@ .Sh SYNOPSIS .In sys/systm.h .Ft void -.Fo "hardclock" +.Fo hardclock .Fa "struct clockframe *frame" .Fc .Sh DESCRIPTION diff --git a/share/man/man9/if_rxr_init.9 b/share/man/man9/if_rxr_init.9 index 171129de96b..6fe65f86c4c 100644 --- a/share/man/man9/if_rxr_init.9 +++ b/share/man/man9/if_rxr_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: if_rxr_init.9,v 1.3 2014/09/05 01:06:36 dlg Exp $ +.\" $OpenBSD: if_rxr_init.9,v 1.4 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2014 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 5 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt IF_RXR_INIT 9 .Os .Sh NAME @@ -28,17 +28,17 @@ .Sh SYNOPSIS .In net/if.h .Ft void -.Fn "if_rxr_init" "struct if_rxring *rxr" "unsigned int lwm" "unsigned int hwm" +.Fn if_rxr_init "struct if_rxring *rxr" "unsigned int lwm" "unsigned int hwm" .Ft unsigned int -.Fn "if_rxr_get" "struct if_rxring *rxr" "unsigned int max" +.Fn if_rxr_get "struct if_rxring *rxr" "unsigned int max" .Ft void -.Fn "if_rxr_put" "struct if_rxring *rxr" "unsigned int n" +.Fn if_rxr_put "struct if_rxring *rxr" "unsigned int n" .Ft unsigned int -.Fn "if_rxr_inuse" "struct if_rxring *rxr" +.Fn if_rxr_inuse "struct if_rxring *rxr" .Ft int -.Fn "if_rxr_ioctl" "struct if_rxrinfo *ifri" "const char *name" "unsigned int size" "struct if_rxring *rxr" +.Fn if_rxr_ioctl "struct if_rxrinfo *ifri" "const char *name" "unsigned int size" "struct if_rxring *rxr" .Ft int -.Fn "if_rxr_info_ioctl" "struct if_rxrinfo *ifri" "unsigned int n" "struct if_rxring_info *rings" +.Fn if_rxr_info_ioctl "struct if_rxrinfo *ifri" "unsigned int n" "struct if_rxring_info *rings" .Sh DESCRIPTION The Interface Receive Ring accounting API provides a mechanism to manage the number of available descriptors on a network card's receive diff --git a/share/man/man9/log.9 b/share/man/man9/log.9 index 24f4509df00..f5afab28f1c 100644 --- a/share/man/man9/log.9 +++ b/share/man/man9/log.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: log.9,v 1.10 2015/09/10 15:16:43 schwarze Exp $ +.\" $OpenBSD: log.9,v 1.11 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: log.9,v 1.6 1999/08/17 05:24:06 enami Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt LOG 9 .Os .Sh NAME @@ -38,7 +38,7 @@ .Sh SYNOPSIS .In sys/syslog.h .Ft void -.Fo "log" +.Fo log .Fa "int level" .Fa "const char *format" .Fa "..." diff --git a/share/man/man9/ml_init.9 b/share/man/man9/ml_init.9 index dbeb1150c4d..c976cec82f0 100644 --- a/share/man/man9/ml_init.9 +++ b/share/man/man9/ml_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ml_init.9,v 1.3 2015/09/10 15:59:18 schwarze Exp $ +.\" $OpenBSD: ml_init.9,v 1.4 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 10 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt ML_INIT 9 .Os .Sh NAME @@ -30,15 +30,15 @@ .Nd mbuf list API .Sh SYNOPSIS .In sys/mbuf.h -.Fn "ml_init" "struct mbuf_list *ml" +.Fn ml_init "struct mbuf_list *ml" .Ft void -.Fn "ml_enqueue" "struct mbuf_list *ml" "struct mbuf *m" +.Fn ml_enqueue "struct mbuf_list *ml" "struct mbuf *m" .Ft struct mbuf * -.Fn "ml_dequeue" "struct mbuf_list *ml" +.Fn ml_dequeue "struct mbuf_list *ml" .Ft void -.Fn "ml_requeue" "struct mbuf_list *ml" "struct mbuf *m" +.Fn ml_requeue "struct mbuf_list *ml" "struct mbuf *m" .Ft struct mbuf * -.Fn "ml_dechain" "struct mbuf_list *ml" +.Fn ml_dechain "struct mbuf_list *ml" .Ft struct mbuf * .Fo ml_filter .Fa "struct mbuf_list *ml" @@ -46,12 +46,12 @@ .Fa "void *context" .Fc .Ft unsigned int -.Fn "ml_len" "struct mbuf_list *ml" +.Fn ml_len "struct mbuf_list *ml" .Ft int -.Fn "ml_empty" "struct mbuf_list *ml" +.Fn ml_empty "struct mbuf_list *ml" .Ft struct mbuf_list -.Fn "MBUF_LIST_INITIALIZER" -.Fn "MBUF_LIST_FOREACH" "struct mbuf_list *ml" "VARNAME" +.Fn MBUF_LIST_INITIALIZER +.Fn MBUF_LIST_FOREACH "struct mbuf_list *ml" "VARNAME" .Sh DESCRIPTION The mbuf list API provides implementions of data structures and operations for managing lists of mbufs between contexts. @@ -69,29 +69,29 @@ Reinsertion of an mbuf at the head of the list. Removal of the entire chain of mbufs on the list. .El .Bl -tag -width Ds -.It Fn "ml_init" "struct mbuf_list *ml" +.It Fn ml_init "struct mbuf_list *ml" Initialise the .Fa ml mbuf_list structure. -.It Fn "MBUF_LIST_INITIALIZER" +.It Fn MBUF_LIST_INITIALIZER An initialiser for an mbuf_list structure declaration. -.It Fn "ml_enqueue" "struct mbuf_list *ml" "struct mbuf *m" +.It Fn ml_enqueue "struct mbuf_list *ml" "struct mbuf *m" Enqueue mbuf .Fa m on the end of the .Fa ml mbuf list. -.It Fn "ml_dequeue" "struct mbuf_list *ml" +.It Fn ml_dequeue "struct mbuf_list *ml" Dequeue an mbuf from the front of the .Fa ml mbuf list. -.It Fn "ml_requeue" "struct mbuf_list *ml" "struct mbuf *m" +.It Fn ml_requeue "struct mbuf_list *ml" "struct mbuf *m" Enqueue mbuf .Fa m at the head of the .Fa ml mbuf list. -.It Fn "ml_dechain" "struct mbuf_list *ml" +.It Fn ml_dechain "struct mbuf_list *ml" Dequeues all mbufs from the .Fa ml mbuf list. @@ -114,15 +114,15 @@ mbuf list to be returned as part of an mbuf chain by .Fa context is passed as the first argument to each call of .Fa filter . -.It Fn "ml_len" "struct mbuf_list *ml" +.It Fn ml_len "struct mbuf_list *ml" Return the number of mbufs on the .Fa ml mbuf list. -.It Fn "ml_empty" "struct mbuf_list *ml" +.It Fn ml_empty "struct mbuf_list *ml" Return if the .Fa ml mbuf list is empty. -.It Fn "MBUF_LIST_FOREACH" "struct mbuf_list *ml" "VARNAME" +.It Fn MBUF_LIST_FOREACH "struct mbuf_list *ml" "VARNAME" A convenience macro that can be used to iterate over the contents of the .Fa ml mbuf list. diff --git a/share/man/man9/mq_init.9 b/share/man/man9/mq_init.9 index 9cd3537ffc1..04f656781df 100644 --- a/share/man/man9/mq_init.9 +++ b/share/man/man9/mq_init.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mq_init.9,v 1.2 2015/08/14 05:25:29 dlg Exp $ +.\" $OpenBSD: mq_init.9,v 1.3 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: August 14 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt MQ_INIT 9 .Os .Sh NAME @@ -33,19 +33,19 @@ .Nd mbuf queue API .Sh SYNOPSIS .In sys/mbuf.h -.Fn "mq_init" "struct mbuf_queue *mq" "unsigned int maxlen" "int ipl" +.Fn mq_init "struct mbuf_queue *mq" "unsigned int maxlen" "int ipl" .Ft int -.Fn "mq_enqueue" "struct mbuf_queue *mq" "struct mbuf *m" +.Fn mq_enqueue "struct mbuf_queue *mq" "struct mbuf *m" .Ft struct mbuf * -.Fn "mq_dequeue" "struct mbuf_queue *mq" +.Fn mq_dequeue "struct mbuf_queue *mq" .Ft int -.Fn "mq_requeue" "struct mbuf_queue *mq" "struct mbuf *m" +.Fn mq_requeue "struct mbuf_queue *mq" "struct mbuf *m" .Ft int -.Fn "mq_enlist" "struct mbuf_queue *mq" "struct mbuf_list *ml" +.Fn mq_enlist "struct mbuf_queue *mq" "struct mbuf_list *ml" .Ft void -.Fn "mq_delist" "struct mbuf_queue *mq" "struct mbuf_list *ml" +.Fn mq_delist "struct mbuf_queue *mq" "struct mbuf_list *ml" .Ft struct mbuf * -.Fn "mq_dechain" "struct mbuf_queue *mq" +.Fn mq_dechain "struct mbuf_queue *mq" .Ft struct mbuf * .Fo mq_filter .Fa "struct mbuf_queue *mq" @@ -53,15 +53,15 @@ .Fa "void *context" .Fc .Ft unsigned int -.Fn "mq_len" "struct mbuf_queue *mq" +.Fn mq_len "struct mbuf_queue *mq" .Ft int -.Fn "mq_empty" "struct mbuf_queue *mq" +.Fn mq_empty "struct mbuf_queue *mq" .Ft unsigned int -.Fn "mq_drops" "struct mbuf_queue *mq" +.Fn mq_drops "struct mbuf_queue *mq" .Ft void -.Fn "mq_set_maxlen" "struct mbuf_queue *mq" "unsigned int" +.Fn mq_set_maxlen "struct mbuf_queue *mq" "unsigned int" .Ft struct mbuf_queue -.Fn "MBUF_QUEUE_INITIALIZER" "unsigned int maxlen" "int ipl" +.Fn MBUF_QUEUE_INITIALIZER "unsigned int maxlen" "int ipl" .Sh DESCRIPTION The mbuf queue API provides implementions of data structures and operations for queueing mbufs and lists of mbufs between contexts. @@ -90,7 +90,7 @@ Insertion of the mbufs in an mbuf_list at the end of the queue. Removal of all the mbufs on the queue as an mbuf_list. .El .Bl -tag -width Ds -.It Fn "mq_init" "struct mbuf_queue *mq" "unsigned int maxlen" "int ipl" +.It Fn mq_init "struct mbuf_queue *mq" "unsigned int maxlen" "int ipl" Initialises the mbuf queue structure .Fa mq . The maximum number of mbufs that should be queued is specified with @@ -98,24 +98,24 @@ The maximum number of mbufs that should be queued is specified with The highest interrupt priority level the queue will be operated at is specified via .Fa ipl . -.It Fn "MBUF_QUEUE_INITIALIZER" "unsigned int maxlen" "int ipl" +.It Fn MBUF_QUEUE_INITIALIZER "unsigned int maxlen" "int ipl" Initialises an mbuf queue structure declaration. The maximum number of mbufs that should be queued is specified with .Fa maxlen . The highest interrupt priority level the queue will be operated at is specified via .Fa ipl . -.It Fn "mq_enqueue" "struct mbuf_queue *mq" "struct mbuf *m" +.It Fn mq_enqueue "struct mbuf_queue *mq" "struct mbuf *m" Enqueue mbuf .Fa m on the end of the .Fa mq mbuf queue. -.It Fn "mq_dequeue" "struct mbuf_queue *mq" +.It Fn mq_dequeue "struct mbuf_queue *mq" Dequeue an mbuf from the front of the .Fa mq mbuf queue. -.It Fn "mq_requeue" "struct mbuf_queue *mq" "struct mbuf *m" +.It Fn mq_requeue "struct mbuf_queue *mq" "struct mbuf *m" Enqueue mbuf .Fa m at the head of the @@ -123,20 +123,20 @@ at the head of the mbuf queue. Note, this operation will succeed even if it will cause the queue to exceed its maximum length. -.It Fn "mq_enlist" "struct mbuf_queue *mq" "struct mbuf_list *ml" +.It Fn mq_enlist "struct mbuf_queue *mq" "struct mbuf_list *ml" Enqueue all the mbufs on the .Fa ml mbuf list on to the end of the .Fa mq mbuf queue. Note, the number of mbufs placed on the queue may exceed its maximum length. -.It Fn "mq_delist" "struct mbuf_queue *mq" "struct mbuf_list *ml" +.It Fn mq_delist "struct mbuf_queue *mq" "struct mbuf_list *ml" Dequeue all the mbufs on the .Fa mq mbuf queue on to the .Fa ml mbuf list. -.It Fn "mq_dechain" "struct mbuf_queue *mq" +.It Fn mq_dechain "struct mbuf_queue *mq" Dequeue all mbufs from the .Fa mq mbuf queue. @@ -159,21 +159,21 @@ mbuf queue to be returned as part of an mbuf chain by .Fa context is passed as the first argument to each call of .Fa filter . -.It Fn "mq_len" "struct mbuf_queue *mq" +.It Fn mq_len "struct mbuf_queue *mq" Return the number of mbufs on the .Fa mq mbuf queue. -.It Fn "mq_empty" "struct mbuf_queue *mq" +.It Fn mq_empty "struct mbuf_queue *mq" Return if the .Fa mq mbuf queue is empty. -.It Fn "mq_drops" "struct mbuf_queue *mq" +.It Fn mq_drops "struct mbuf_queue *mq" Return how many mbufs were dropped and freed by .Xr m_freem 9 if the .Fa mq mbuf queue was too full. -.It Fn "mq_set_maxlen" "struct mbuf_queue *mq" "unsigned int" +.It Fn mq_set_maxlen "struct mbuf_queue *mq" "unsigned int" Alter the maximum number of mbufs that should be queued on the .Fa mq mbuf queue. diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9 index ffcc7e3a80d..a11b185d579 100644 --- a/share/man/man9/physio.9 +++ b/share/man/man9/physio.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: physio.9,v 1.7 2010/09/22 01:18:57 matthew Exp $ +.\" $OpenBSD: physio.9,v 1.8 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: physio.9,v 1.5 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 22 2010 $ +.Dd $Mdocdate: September 14 2015 $ .Dt PHYSIO 9 .Os .Sh NAME @@ -36,7 +36,7 @@ .Nd initiate I/O on raw devices .Sh SYNOPSIS .Ft int -.Fo "physio" +.Fo physio .Fa "void (*strategy)(struct buf *)" .Fa "dev_t dev" .Fa "int flags" diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9 index 0f2bb83e485..f74176cc56e 100644 --- a/share/man/man9/printf.9 +++ b/share/man/man9/printf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.9,v 1.21 2013/12/29 18:46:09 jmc Exp $ +.\" $OpenBSD: printf.9,v 1.22 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: kprintf.9,v 1.6 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 29 2013 $ +.Dd $Mdocdate: September 14 2015 $ .Dt PRINTF 9 .Os .Sh NAME @@ -45,36 +45,36 @@ .In sys/types.h .In sys/systm.h .Ft int -.Fo "printf" +.Fo printf .Fa "const char *format" .Fa "..." .Fc .Ft int -.Fo "snprintf" +.Fo snprintf .Fa "char *buf" .Fa "size_t size" .Fa "const char *format" .Fa "..." .Fc .Ft int -.Fo "vprintf" +.Fo vprintf .Fa "const char *format" .Fa "va_list ap" .Fc .Ft int -.Fo "vsnprintf" +.Fo vsnprintf .Fa "char *buf" .Fa "size_t size" .Fa "const char *fmt" .Fa "va_list ap" .Fc .Ft void -.Fo "uprintf" +.Fo uprintf .Fa "const char *format" .Fa "..." .Fc .Ft void -.Fo "ttyprintf" +.Fo ttyprintf .Fa "struct tty *tty" .Fa "const char *format" .Fa "..." diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9 index ac44850e25f..e123db98229 100644 --- a/share/man/man9/psignal.9 +++ b/share/man/man9/psignal.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: psignal.9,v 1.4 2008/06/26 05:42:08 ray Exp $ +.\" $OpenBSD: psignal.9,v 1.5 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: psignal.9,v 1.5 1999/03/16 00:40:47 garbled Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 26 2008 $ +.Dd $Mdocdate: September 14 2015 $ .Dt PSIGNAL 9 .Os .Sh NAME @@ -38,11 +38,11 @@ .Nd post signal to a process .Sh SYNOPSIS .Ft void -.Fn "psignal" "struct proc *p" "int signum" +.Fn psignal "struct proc *p" "int signum" .Ft void -.Fn "pgsignal" "struct pgrp *pgrp" "int signum" "int checkctty" +.Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty" .Ft void -.Fn "gsignal" "int pgid" "int signum" +.Fn gsignal "int pgid" "int signum" .Sh DESCRIPTION These functions post a signal to one or more processes. The argument diff --git a/share/man/man9/sensor_attach.9 b/share/man/man9/sensor_attach.9 index d1f500fe0f6..d77b46e8acc 100644 --- a/share/man/man9/sensor_attach.9 +++ b/share/man/man9/sensor_attach.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sensor_attach.9,v 1.12 2014/01/21 03:15:46 schwarze Exp $ +.\" $OpenBSD: sensor_attach.9,v 1.13 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2006 Michael Knudsen <mk@openbsd.org> .\" Copyright (c) 2006 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru> @@ -24,7 +24,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt SENSOR_ATTACH 9 .Os .Sh NAME @@ -40,23 +40,23 @@ .Sh SYNOPSIS .In sys/sensors.h .Ft void -.Fn "sensordev_install" "struct ksensordev *sensdev" +.Fn sensordev_install "struct ksensordev *sensdev" .Ft void -.Fn "sensordev_deinstall" "struct ksensordev *sensdev" +.Fn sensordev_deinstall "struct ksensordev *sensdev" .Ft struct ksensordev * -.Fn "sensordev_get" "int devnum" +.Fn sensordev_get "int devnum" .Pp .Ft void -.Fn "sensor_attach" "struct ksensordev *sensdev" "struct ksensor *sens" +.Fn sensor_attach "struct ksensordev *sensdev" "struct ksensor *sens" .Ft void -.Fn "sensor_detach" "struct ksensordev *sensdev" "struct ksensor *sens" +.Fn sensor_detach "struct ksensordev *sensdev" "struct ksensor *sens" .Ft struct ksensor * -.Fn "sensor_find" "int devnum" "enum sensor_type stype" "int numt" +.Fn sensor_find "int devnum" "enum sensor_type stype" "int numt" .Pp .Ft struct sensor_task * -.Fn "sensor_task_register" "void *arg" "void (*func)(void *)" "int period" +.Fn sensor_task_register "void *arg" "void (*func)(void *)" "int period" .Ft void -.Fn "sensor_task_unregister" "struct sensor_task *st" +.Fn sensor_task_unregister "struct sensor_task *st" .Sh DESCRIPTION The sensors diff --git a/share/man/man9/srp_enter.9 b/share/man/man9/srp_enter.9 index e19708ec3ac..67f7747bc45 100644 --- a/share/man/man9/srp_enter.9 +++ b/share/man/man9/srp_enter.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: srp_enter.9,v 1.4 2015/09/01 03:47:58 dlg Exp $ +.\" $OpenBSD: srp_enter.9,v 1.5 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 1 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt SRP_ENTER 9 .Os .Sh NAME @@ -33,29 +33,29 @@ .Sh SYNOPSIS .In sys/srp.h .Ft void -.Fn "srp_init" "struct srp *p" +.Fn srp_init "struct srp *p" .Ft void -.Fo "srp_gc_init" +.Fo srp_gc_init .Fa "struct srp_gc *gc" .Fa "void (*dtor)(void *, void *)" .Fa "void *ctx" .Fc .Ft void -.Fn "srp_update" "struct srp_gc *gc" "struct srp *p" "void *v" +.Fn srp_update "struct srp_gc *gc" "struct srp *p" "void *v" .Ft void -.Fn "srp_update_locked" "struct srp_gc *gc" "struct srp *p" "void *v" +.Fn srp_update_locked "struct srp_gc *gc" "struct srp *p" "void *v" .Ft void * -.Fn "srp_enter" "struct srp *p" +.Fn srp_enter "struct srp *p" .Ft void * -.Fn "srp_follow" "struct srp *p" "void *v" "struct srp *n" +.Fn srp_follow "struct srp *p" "void *v" "struct srp *n" .Ft void -.Fn "srp_leave" "struct srp *p" "void *v" +.Fn srp_leave "struct srp *p" "void *v" .Ft void * -.Fn "srp_get_locked" "struct srp *p" +.Fn srp_get_locked "struct srp *p" .Ft void -.Fn "srp_finalize" "struct srp_gc *gc" -.Fn "SRP_INITIALIZER" -.Fo "SRP_GC_INITIALIZER" +.Fn srp_finalize "struct srp_gc *gc" +.Fn SRP_INITIALIZER +.Fo SRP_GC_INITIALIZER .Fa "void (*dtor)(void *, void *)" .Fa "void *ctx" .Fc diff --git a/share/man/man9/task_add.9 b/share/man/man9/task_add.9 index 110ef537dad..2c50292d4a5 100644 --- a/share/man/man9/task_add.9 +++ b/share/man/man9/task_add.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: task_add.9,v 1.15 2015/02/09 08:36:53 jmc Exp $ +.\" $OpenBSD: task_add.9,v 1.16 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2013 David Gwynne <dlg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 9 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt TASK_ADD 9 .Os .Sh NAME @@ -28,23 +28,23 @@ .Sh SYNOPSIS .In sys/task.h .Ft struct taskq * -.Fo "taskq_create" +.Fo taskq_create .Fa "const char *name" .Fa "unsigned int nthreads" .Fa "int ipl" .Fa "unsigned int flags" .Fc .Ft void -.Fn "taskq_destroy" "struct taskq *tq" +.Fn taskq_destroy "struct taskq *tq" .Ft void -.Fn "task_set" "struct task *t" "void (*fn)(void *)" "void *arg" +.Fn task_set "struct task *t" "void (*fn)(void *)" "void *arg" .Ft int -.Fn "task_add" "struct taskq *tq" "struct task *t" +.Fn task_add "struct taskq *tq" "struct task *t" .Ft int -.Fn "task_del" "struct taskq *tq" "struct task *t" +.Fn task_del "struct taskq *tq" "struct task *t" .Vt extern struct taskq *const systq; .Vt extern struct taskq *const systqmp; -.Fn "TASK_INITIALIZER" "void (*fn)(void *)" "void *arg" +.Fn TASK_INITIALIZER "void (*fn)(void *)" "void *arg" .Sh DESCRIPTION The taskq diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index b732f95c4ee..a65f25e157b 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: timeout.9,v 1.40 2015/06/11 16:04:55 mikeb Exp $ +.\" $OpenBSD: timeout.9,v 1.41 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2000 Artur Grabowski <art@openbsd.org> .\" All rights reserved. @@ -23,7 +23,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 11 2015 $ +.Dd $Mdocdate: September 14 2015 $ .Dt TIMEOUT 9 .Os .Sh NAME @@ -46,32 +46,32 @@ .In sys/types.h .In sys/timeout.h .Ft void -.Fn "timeout_set" "struct timeout *to" "void (*fn)(void *)" "void *arg" +.Fn timeout_set "struct timeout *to" "void (*fn)(void *)" "void *arg" .Ft int -.Fn "timeout_add" "struct timeout *to" "int ticks" +.Fn timeout_add "struct timeout *to" "int ticks" .Ft int -.Fn "timeout_del" "struct timeout *to" +.Fn timeout_del "struct timeout *to" .Ft int -.Fn "timeout_pending" "struct timeout *to" +.Fn timeout_pending "struct timeout *to" .Ft int -.Fn "timeout_initialized" "struct timeout *to" +.Fn timeout_initialized "struct timeout *to" .Ft int -.Fn "timeout_triggered" "struct timeout *to" +.Fn timeout_triggered "struct timeout *to" .Ft int -.Fn "timeout_add_tv" "struct timeout *to" "struct timeval *" +.Fn timeout_add_tv "struct timeout *to" "struct timeval *" .Ft int -.Fn "timeout_add_ts" "struct timeout *to" "struct timespec *" +.Fn timeout_add_ts "struct timeout *to" "struct timespec *" .Ft int -.Fn "timeout_add_bt" "struct timeout *to" "struct bintime *" +.Fn timeout_add_bt "struct timeout *to" "struct bintime *" .Ft int -.Fn "timeout_add_sec" "struct timeout *to" "int sec" +.Fn timeout_add_sec "struct timeout *to" "int sec" .Ft int -.Fn "timeout_add_msec" "struct timeout *to" "int msec" +.Fn timeout_add_msec "struct timeout *to" "int msec" .Ft int -.Fn "timeout_add_usec" "struct timeout *to" "int usec" +.Fn timeout_add_usec "struct timeout *to" "int usec" .Ft int -.Fn "timeout_add_nsec" "struct timeout *to" "int nsec" -.Fn "TIMEOUT_INITIALIZER" "void (*fn)(void *)" "void *arg" +.Fn timeout_add_nsec "struct timeout *to" "int nsec" +.Fn TIMEOUT_INITIALIZER "void (*fn)(void *)" "void *arg" .Sh DESCRIPTION The .Nm timeout diff --git a/share/man/man9/tsleep.9 b/share/man/man9/tsleep.9 index 492b98e2f3d..391421e86a2 100644 --- a/share/man/man9/tsleep.9 +++ b/share/man/man9/tsleep.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tsleep.9,v 1.9 2014/01/22 07:32:47 jmc Exp $ +.\" $OpenBSD: tsleep.9,v 1.10 2015/09/14 15:14:55 schwarze Exp $ .\" $NetBSD: sleep.9,v 1.11 1999/03/24 06:15:12 mycroft Exp $ .\" .\" Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 22 2014 $ +.Dd $Mdocdate: September 14 2015 $ .Dt TSLEEP 9 .Os .Sh NAME @@ -42,15 +42,15 @@ .In sys/param.h .In sys/systm.h .Ft int -.Fn "tsleep" "void *ident" "int priority" "const char *wmesg" "int timo" +.Fn tsleep "void *ident" "int priority" "const char *wmesg" "int timo" .Ft int -.Fn "msleep" "void *ident" "struct mutex *mtx" "int priority" "const char *wmesg" "int timo" +.Fn msleep "void *ident" "struct mutex *mtx" "int priority" "const char *wmesg" "int timo" .Ft void -.Fn "wakeup" "void *ident" +.Fn wakeup "void *ident" .Ft void -.Fn "wakeup_n" "void *ident" "int count" +.Fn wakeup_n "void *ident" "int count" .Ft void -.Fn "wakeup_one" "void *ident" +.Fn wakeup_one "void *ident" .Sh DESCRIPTION These functions implement voluntary context switching. .Fn tsleep diff --git a/share/man/man9/vwaitforio.9 b/share/man/man9/vwaitforio.9 index cec832c42ee..c4564591dcf 100644 --- a/share/man/man9/vwaitforio.9 +++ b/share/man/man9/vwaitforio.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vwaitforio.9,v 1.13 2013/06/04 19:27:17 schwarze Exp $ +.\" $OpenBSD: vwaitforio.9,v 1.14 2015/09/14 15:14:55 schwarze Exp $ .\" .\" Copyright (c) 2001 Constantine Sapuntzakis .\" All rights reserved. @@ -23,7 +23,7 @@ .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 4 2013 $ +.Dd $Mdocdate: September 14 2015 $ .Dt VWAITFORIO 9 .Os .Sh NAME @@ -33,7 +33,7 @@ .In sys/types.h .In sys/vnode.h .Ft int -.Fn "vwaitforio" "struct vnode *vp" "int slpflag" "char *wmesg" "int slptimeo" +.Fn vwaitforio "struct vnode *vp" "int slpflag" "char *wmesg" "int slptimeo" .Sh DESCRIPTION The .Fn vwaitforio |