summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-09-11 06:38:13 +0000
commit272335dff09eb442fbdf7e81932b406f2f2c02e0 (patch)
tree0f9b92c92b745f1757f00736d57cf9cf4def8b8d /share
parent830aea92a7879fb169129d063efaaff66a0cb89b (diff)
.Li -> .Vt where appropriate;
from josiah frentsos, tweaked by schwarze ok schwarze
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/bit_alloc.38
-rw-r--r--share/man/man3/dl_iterate_phdr.36
-rw-r--r--share/man/man4/bpf.412
-rw-r--r--share/man/man4/ddb.430
-rw-r--r--share/man/man4/openprom.412
-rw-r--r--share/man/man4/options.48
-rw-r--r--share/man/man4/speaker.46
-rw-r--r--share/man/man5/ranlib.58
-rw-r--r--share/man/man8/crash.88
-rw-r--r--share/man/man9/printf.914
-rw-r--r--share/man/man9/socreate.96
-rw-r--r--share/man/man9/style.96
12 files changed, 62 insertions, 62 deletions
diff --git a/share/man/man3/bit_alloc.3 b/share/man/man3/bit_alloc.3
index c74d295341a..8144d2e0d21 100644
--- a/share/man/man3/bit_alloc.3
+++ b/share/man/man3/bit_alloc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bit_alloc.3,v 1.2 2022/08/04 06:20:24 jsg Exp $
+.\" $OpenBSD: bit_alloc.3,v 1.3 2022/09/11 06:38:11 jmc Exp $
.\" $NetBSD: bitstring.3,v 1.4 1994/11/30 15:24:31 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -32,7 +32,7 @@
.\"
.\" @(#)bitstring.3 8.1 (Berkeley) 7/19/93
.\"
-.Dd $Mdocdate: August 4 2022 $
+.Dd $Mdocdate: September 11 2022 $
.Dt BIT_ALLOC 3
.Os
.Sh NAME
@@ -66,7 +66,7 @@ These macros operate on strings of bits.
The
.Fn bit_alloc
macro returns a pointer of type
-.Li "bitstr_t *"
+.Vt bitstr_t *
to sufficient space to store
.Fa nbits
bits, or
@@ -82,7 +82,7 @@ bits on the stack.
The
.Fn bitstr_size
macro returns the number of elements of type
-.Li bitstr_t
+.Vt bitstr_t
necessary to store
.Fa nbits
bits.
diff --git a/share/man/man3/dl_iterate_phdr.3 b/share/man/man3/dl_iterate_phdr.3
index abd66d55ecf..e2bb89a9ab1 100644
--- a/share/man/man3/dl_iterate_phdr.3
+++ b/share/man/man3/dl_iterate_phdr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dl_iterate_phdr.3,v 1.5 2018/08/24 13:14:14 edd Exp $
+.\" $OpenBSD: dl_iterate_phdr.3,v 1.6 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 2005 Mark Kettenis
.\"
@@ -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 24 2018 $
+.Dd $Mdocdate: September 11 2022 $
.Dt DL_ITERATE_PHDR 3
.Os
.Sh NAME
@@ -51,7 +51,7 @@ struct dl_phdr_info {
.Ed
.Pp
The members of
-.Li struct dl_phdr_info
+.Vt struct dl_phdr_info
have the following meaning:
.Bl -tag -width XXXdlpi_phdr
.It Fa dlpi_addr
diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 58538f5f3e3..0951abd9daf 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpf.4,v 1.43 2020/09/30 19:25:40 tb Exp $
+.\" $OpenBSD: bpf.4,v 1.44 2022/09/11 06:38:11 jmc Exp $
.\" $NetBSD: bpf.4,v 1.7 1995/09/27 18:31:50 thorpej Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
@@ -23,7 +23,7 @@
.\" This document is derived in part from the enet man page (enet.4)
.\" distributed with 4.3BSD Unix.
.\"
-.Dd $Mdocdate: September 30 2020 $
+.Dd $Mdocdate: September 11 2022 $
.Dt BPF 4
.Os
.Sh NAME
@@ -247,7 +247,7 @@ Returns the name of the hardware interface that the file is listening on.
The name is returned in the
.Fa ifr_name
field of the
-.Li struct ifreq .
+.Vt struct ifreq .
All other fields are undefined.
.Pp
.It Dv BIOCSETIF Fa "struct ifreq *"
@@ -256,7 +256,7 @@ This command must be performed before any packets can be read.
The device is indicated by name using the
.Fa ifr_name
field of the
-.Li struct ifreq .
+.Vt struct ifreq .
Additionally, performs the actions of
.Dv BIOCFLUSH .
.Pp
@@ -316,7 +316,7 @@ struct bpf_program {
The filter program is pointed to by the
.Fa bf_insns
field, while its length in units of
-.Li struct bpf_insn
+.Vt struct bpf_insn
is given by the
.Fa bf_len
field.
@@ -512,7 +512,7 @@ and the network layer header will be word aligned.
Suitable precautions must be taken when accessing the link layer protocol
fields on alignment restricted machines.
(This isn't a problem on an Ethernet, since the type field is a
-.Li short
+.Vt short
falling on an even offset, and the addresses are probably accessed in a
bytewise fashion).
.Pp
diff --git a/share/man/man4/ddb.4 b/share/man/man4/ddb.4
index 46835e15452..5608fea0ab5 100644
--- a/share/man/man4/ddb.4
+++ b/share/man/man4/ddb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ddb.4,v 1.103 2022/07/29 17:47:11 semarie Exp $
+.\" $OpenBSD: ddb.4,v 1.104 2022/09/11 06:38:11 jmc Exp $
.\" $NetBSD: ddb.4,v 1.5 1994/11/30 16:22:09 jtc Exp $
.\"
.\" Mach Operating System
@@ -25,7 +25,7 @@
.\" any improvements or extensions that they make and grant Carnegie Mellon
.\" the rights to redistribute these changes.
.\"
-.Dd $Mdocdate: July 29 2022 $
+.Dd $Mdocdate: September 11 2022 $
.Dt DDB 4
.Os
.Sh NAME
@@ -628,7 +628,7 @@ command.
.Ar addr
.Xc
Prints the
-.Li struct buf
+.Vt struct buf
at
.Ar addr .
If the
@@ -669,13 +669,13 @@ modifier is specified, the complete map is printed.
.\" --------------------
.It Ic show mbuf Ar addr
Prints the
-.Li struct mbuf
+.Vt struct mbuf
header at
.Ar addr .
Depending on the mbuf flags
-.Li struct pkthdr
+.Vt struct pkthdr
and
-.Li struct m_ext
+.Vt struct m_ext
are printed as well.
.\" --------------------
.It Xo
@@ -684,7 +684,7 @@ are printed as well.
.Ar addr
.Xc
Prints the
-.Li struct mount
+.Vt struct mount
at
.Ar addr .
If the
@@ -705,7 +705,7 @@ on all those vnodes.
.Ar addr
.Xc
Prints the
-.Li struct nfsnode
+.Vt struct nfsnode
at
.Ar addr .
If the
@@ -719,7 +719,7 @@ information as well.
.Ar addr
.Xc
Prints the
-.Li struct nfsreq
+.Vt struct nfsreq
at
.Ar addr .
If the
@@ -773,7 +773,7 @@ Print the pagelist for this pool.
.\" --------------------
.It Ic show proc Op Ar addr
Prints the
-.Li struct proc
+.Vt struct proc
at
.Ar addr .
If an optional address is not specified,
@@ -793,17 +793,17 @@ incorrect information may be displayed.
.\" --------------------
.It Ic show route Ar addr
Prints the
-.Li struct rtentry
+.Vt struct rtentry
at
.Ar addr .
.\" --------------------
.It Ic show socket Ar addr
Prints the
-.Li struct socket
+.Vt struct socket
at
.Ar addr .
If the socket is spliced, the
-.Li struct sosplice
+.Vt struct sosplice
associated with the socket is printed as well.
.\" --------------------
.It Xo
@@ -827,7 +827,7 @@ Prints a detailed list of all swaps.
.Ar addr
.Xc
Prints the
-.Li struct tdb
+.Vt struct tdb
at
.Ar addr .
If the
@@ -843,7 +843,7 @@ Displays a selection of uvm counters and statistics.
.Ar addr
.Xc
Prints the
-.Li struct vnode
+.Vt struct vnode
at
.Ar addr .
If the
diff --git a/share/man/man4/openprom.4 b/share/man/man4/openprom.4
index 7054ca0ea17..652a8059d62 100644
--- a/share/man/man4/openprom.4
+++ b/share/man/man4/openprom.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openprom.4,v 1.1 2019/04/25 16:47:56 denis Exp $
+.\" $OpenBSD: openprom.4,v 1.2 2022/09/11 06:38:11 jmc Exp $
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)openprom.4 8.1 (Berkeley) 6/5/93
.\"
-.Dd $Mdocdate: April 25 2019 $
+.Dd $Mdocdate: September 11 2022 $
.Dt OPENPROM 4
.Os
.Sh NAME
@@ -56,20 +56,20 @@ as described below.
.Pp
The calls that take and/or return a node
use a pointer to an
-.Li int
+.Vt int
variable for this purpose;
others use a pointer to a
-.Li struct opiocdesc
+.Vt struct opiocdesc
descriptor,
which contains a node and two counted strings.
The first string is comprised of the fields
.Li op_namelen
(an
-.Li int )
+.Vt int )
and
.Li op_name
(a
-.Li "char *" ) ,
+.Vt char * ) ,
giving the name of a field.
The second string is comprised of the fields
.Li op_buflen
diff --git a/share/man/man4/options.4 b/share/man/man4/options.4
index f66a8c6f5f6..f57b30573fe 100644
--- a/share/man/man4/options.4
+++ b/share/man/man4/options.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: options.4,v 1.268 2022/03/01 14:39:30 krw Exp $
+.\" $OpenBSD: options.4,v 1.269 2022/09/11 06:38:11 jmc Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
@@ -34,7 +34,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: March 1 2022 $
+.Dd $Mdocdate: September 11 2022 $
.Dt OPTIONS 4
.Os
.Sh NAME
@@ -181,9 +181,9 @@ Some specific features of
like the "behavior on errors" are not implemented.
This file system
can't be used with
-.Li uid_t
+.Vt uid_t
or
-.Li gid_t
+.Vt gid_t
values greater than 65535.
Also, the filesystem will not function correctly on architectures with
differing byte-orders.
diff --git a/share/man/man4/speaker.4 b/share/man/man4/speaker.4
index c79d60f335d..0ee8db6491b 100644
--- a/share/man/man4/speaker.4
+++ b/share/man/man4/speaker.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: speaker.4,v 1.10 2020/07/05 07:54:37 jmc Exp $
+.\" $OpenBSD: speaker.4,v 1.11 2022/09/11 06:38:11 jmc Exp $
.\" $NetBSD: speaker.4,v 1.9 1998/08/18 08:16:56 augustss Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 5 2020 $
+.Dd $Mdocdate: September 11 2022 $
.Dt SPKR 4
.Os
.Sh NAME
@@ -75,7 +75,7 @@ definitions for the
interface are in
.In dev/isa/spkrio.h .
The
-.Li tone_t
+.Vt tone_t
structure used in these calls has two fields,
specifying a frequency (in Hz) and a duration (in 1/100ths of a second).
A frequency of zero is interpreted as a rest.
diff --git a/share/man/man5/ranlib.5 b/share/man/man5/ranlib.5
index 0647fd93ded..4785c836feb 100644
--- a/share/man/man5/ranlib.5
+++ b/share/man/man5/ranlib.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ranlib.5,v 1.2 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: ranlib.5,v 1.3 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)ranlib.5.5 5.2 (Berkeley) 5/10/91
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: September 11 2022 $
.Dt RANLIB 5
.Os
.Sh NAME
@@ -55,7 +55,7 @@ field,
.Dq __.SYMDEF .
.Pp
The second part is a
-.Li long
+.Vt long
followed by a list of ranlib structures.
The long is the size, in bytes, of the list of ranlib structures.
Each of the ranlib structures consists of a zero based offset into the
@@ -65,7 +65,7 @@ The actual number of ranlib structures is this number divided by the size
of an individual ranlib structure.
.Pp
The third part is a
-.Li long
+.Vt long
followed by a string table.
The long is the size, in bytes, of the string table.
.Sh SEE ALSO
diff --git a/share/man/man8/crash.8 b/share/man/man8/crash.8
index 5cfd59c6870..54a958a2505 100644
--- a/share/man/man8/crash.8
+++ b/share/man/man8/crash.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: crash.8,v 1.36 2022/03/31 17:27:23 naddy Exp $
+.\" $OpenBSD: crash.8,v 1.37 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 1980, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)crash.8 6.5 (Berkeley) 4/20/91
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 11 2022 $
.Dt CRASH 8
.Os
.Sh NAME
@@ -246,7 +246,7 @@ Examples of use:
The
.Fl O Ar paddr
option prints each process'
-.Li struct proc
+.Vt struct proc
address.
This is very useful information if you are analyzing process contexts in
.Xr gdb 1 .
@@ -269,7 +269,7 @@ target:
.Pp
It is possible to inspect processes that entered the kernel by
specifying a process'
-.Li struct proc
+.Vt struct proc
address to the
.Ic kvm proc
command:
diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9
index a7de554db19..22497dde726 100644
--- a/share/man/man9/printf.9
+++ b/share/man/man9/printf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.9,v 1.25 2021/04/04 15:25:11 kn Exp $
+.\" $OpenBSD: printf.9,v 1.26 2022/09/11 06:38:11 jmc 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: April 4 2021 $
+.Dd $Mdocdate: September 11 2022 $
.Dt PRINTF 9
.Os
.Sh NAME
@@ -142,19 +142,19 @@ the following integer type specifiers are not supported:
.Bl -tag -width 5n
.It Li %hh
Argument of
-.Li char
+.Vt char
type.
This format specifier is accepted by the kernel but will be handled as
.Li %h .
.It Li %j
Argument of
-.Li intmax_t
+.Vt intmax_t
or
-.Li uintmax_t
+.Vt uintmax_t
type.
.It Li %t
Argument of
-.Li ptrdiff_t
+.Vt ptrdiff_t
type.
.El
.Pp
@@ -170,7 +170,7 @@ the bits within that integer as though they were flags.
It requires two arguments from the argument vector, the first argument being
the bit field to be decoded
(of type
-.Li int ,
+.Vt int ,
unless a width modifier has been specified)
and the second being a decoding directive string.
.Pp
diff --git a/share/man/man9/socreate.9 b/share/man/man9/socreate.9
index 1290f97dd0e..6da51de88f6 100644
--- a/share/man/man9/socreate.9
+++ b/share/man/man9/socreate.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: socreate.9,v 1.10 2018/07/30 12:22:14 mpi Exp $
+.\" $OpenBSD: socreate.9,v 1.11 2022/09/11 06:38:11 jmc Exp $
.\"
.\" Copyright (c) 2006 Robert N. M. Watson
.\" All rights reserved.
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/share/man/man9/socket.9,v 1.2 2006/12/16 10:32:10 rwatson Exp $
.\"
-.Dd $Mdocdate: July 30 2018 $
+.Dd $Mdocdate: September 11 2022 $
.Dt SOCREATE 9
.Os
.Sh NAME
@@ -84,7 +84,7 @@ These interfaces are appropriate for use by distributed file systems and
other network-aware kernel services.
While the user API operates on file descriptors, the kernel interfaces
operate directly on
-.Vt "struct socket"
+.Vt struct socket
pointers.
.Pp
Except where otherwise indicated,
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index d8d4b72386b..b44e6a7946e 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,9 +22,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.78 2022/03/31 17:27:23 naddy Exp $
+.\" $OpenBSD: style.9,v 1.79 2022/09/11 06:38:11 jmc Exp $
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 11 2022 $
.Dt STYLE 9
.Os
.Sh NAME
@@ -506,7 +506,7 @@ if (!*p)
.Ed
.Pp
Routines returning
-.Li void *
+.Vt void *
should not have their return values cast to any pointer type.
.Pp
Use the