xref: /freebsd/contrib/mandoc/mdoc.7 (revision d235f19d1bf1e3d9ca31822709464cc6250f44c2)
1c1c95addSBrooks Davis.\" $Id: mdoc.7,v 1.294 2024/09/22 10:34:58 schwarze Exp $
261d06d6bSBaptiste Daroussin.\"
361d06d6bSBaptiste Daroussin.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
46d38604fSBaptiste Daroussin.\" Copyright (c) 2010, 2011, 2013-2020 Ingo Schwarze <schwarze@openbsd.org>
561d06d6bSBaptiste Daroussin.\"
661d06d6bSBaptiste Daroussin.\" Permission to use, copy, modify, and distribute this software for any
761d06d6bSBaptiste Daroussin.\" purpose with or without fee is hereby granted, provided that the above
861d06d6bSBaptiste Daroussin.\" copyright notice and this permission notice appear in all copies.
961d06d6bSBaptiste Daroussin.\"
1061d06d6bSBaptiste Daroussin.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1161d06d6bSBaptiste Daroussin.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1261d06d6bSBaptiste Daroussin.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1361d06d6bSBaptiste Daroussin.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1461d06d6bSBaptiste Daroussin.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1561d06d6bSBaptiste Daroussin.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1661d06d6bSBaptiste Daroussin.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1761d06d6bSBaptiste Daroussin.\"
18c1c95addSBrooks Davis.Dd $Mdocdate: September 22 2024 $
1961d06d6bSBaptiste Daroussin.Dt MDOC 7
2061d06d6bSBaptiste Daroussin.Os
2161d06d6bSBaptiste Daroussin.Sh NAME
2261d06d6bSBaptiste Daroussin.Nm mdoc
2361d06d6bSBaptiste Daroussin.Nd semantic markup language for formatting manual pages
2461d06d6bSBaptiste Daroussin.Sh DESCRIPTION
2561d06d6bSBaptiste DaroussinThe
2661d06d6bSBaptiste Daroussin.Nm mdoc
2761d06d6bSBaptiste Daroussinlanguage supports authoring of manual pages for the
2861d06d6bSBaptiste Daroussin.Xr man 1
2961d06d6bSBaptiste Daroussinutility by allowing semantic annotations of words, phrases,
3061d06d6bSBaptiste Daroussinpage sections and complete manual pages.
3161d06d6bSBaptiste DaroussinSuch annotations are used by formatting tools to achieve a uniform
3261d06d6bSBaptiste Daroussinpresentation across all manuals written in
3361d06d6bSBaptiste Daroussin.Nm ,
3461d06d6bSBaptiste Daroussinand to support hyperlinking if supported by the output medium.
3561d06d6bSBaptiste Daroussin.Pp
3661d06d6bSBaptiste DaroussinThis reference document describes the structure of manual pages
3761d06d6bSBaptiste Daroussinand the syntax and usage of the
3861d06d6bSBaptiste Daroussin.Nm
3961d06d6bSBaptiste Daroussinlanguage.
4061d06d6bSBaptiste DaroussinThe reference implementation of a parsing and formatting tool is
4161d06d6bSBaptiste Daroussin.Xr mandoc 1 ;
4261d06d6bSBaptiste Daroussinthe
4361d06d6bSBaptiste Daroussin.Sx COMPATIBILITY
4461d06d6bSBaptiste Daroussinsection describes compatibility with other implementations.
4561d06d6bSBaptiste Daroussin.Pp
4661d06d6bSBaptiste DaroussinIn an
4761d06d6bSBaptiste Daroussin.Nm
4861d06d6bSBaptiste Daroussindocument, lines beginning with the control character
4961d06d6bSBaptiste Daroussin.Sq \&.
5061d06d6bSBaptiste Daroussinare called
5161d06d6bSBaptiste Daroussin.Dq macro lines .
5261d06d6bSBaptiste DaroussinThe first word is the macro name.
5361d06d6bSBaptiste DaroussinIt consists of two or three letters.
5461d06d6bSBaptiste DaroussinMost macro names begin with a capital letter.
5561d06d6bSBaptiste DaroussinFor a list of available macros, see
5661d06d6bSBaptiste Daroussin.Sx MACRO OVERVIEW .
5761d06d6bSBaptiste DaroussinThe words following the macro name are arguments to the macro, optionally
5861d06d6bSBaptiste Daroussinincluding the names of other, callable macros; see
5961d06d6bSBaptiste Daroussin.Sx MACRO SYNTAX
6061d06d6bSBaptiste Daroussinfor details.
6161d06d6bSBaptiste Daroussin.Pp
6261d06d6bSBaptiste DaroussinLines not beginning with the control character are called
6361d06d6bSBaptiste Daroussin.Dq text lines .
6461d06d6bSBaptiste DaroussinThey provide free-form text to be printed; the formatting of the text
6561d06d6bSBaptiste Daroussindepends on the respective processing context:
6661d06d6bSBaptiste Daroussin.Bd -literal -offset indent
6761d06d6bSBaptiste Daroussin\&.Sh Macro lines change control state.
6861d06d6bSBaptiste DaroussinText lines are interpreted within the current state.
6961d06d6bSBaptiste Daroussin.Ed
7061d06d6bSBaptiste Daroussin.Pp
7161d06d6bSBaptiste DaroussinMany aspects of the basic syntax of the
7261d06d6bSBaptiste Daroussin.Nm
7361d06d6bSBaptiste Daroussinlanguage are based on the
7461d06d6bSBaptiste Daroussin.Xr roff 7
7561d06d6bSBaptiste Daroussinlanguage; see the
7661d06d6bSBaptiste Daroussin.Em LANGUAGE SYNTAX
7761d06d6bSBaptiste Daroussinand
7861d06d6bSBaptiste Daroussin.Em MACRO SYNTAX
7961d06d6bSBaptiste Daroussinsections in the
8061d06d6bSBaptiste Daroussin.Xr roff 7
8161d06d6bSBaptiste Daroussinmanual for details, in particular regarding
8261d06d6bSBaptiste Daroussincomments, escape sequences, whitespace, and quoting.
8361d06d6bSBaptiste DaroussinHowever, using
8461d06d6bSBaptiste Daroussin.Xr roff 7
8561d06d6bSBaptiste Daroussinrequests in
8661d06d6bSBaptiste Daroussin.Nm
8761d06d6bSBaptiste Daroussindocuments is discouraged;
8861d06d6bSBaptiste Daroussin.Xr mandoc 1
8961d06d6bSBaptiste Daroussinsupports some of them merely for backward compatibility.
9061d06d6bSBaptiste Daroussin.Sh MANUAL STRUCTURE
9161d06d6bSBaptiste DaroussinA well-formed
9261d06d6bSBaptiste Daroussin.Nm
9361d06d6bSBaptiste Daroussindocument consists of a document prologue followed by one or more
9461d06d6bSBaptiste Daroussinsections.
9561d06d6bSBaptiste Daroussin.Pp
9661d06d6bSBaptiste DaroussinThe prologue, which consists of the
977295610fSBaptiste Daroussin.Ic \&Dd ,
987295610fSBaptiste Daroussin.Ic \&Dt ,
9961d06d6bSBaptiste Daroussinand
1007295610fSBaptiste Daroussin.Ic \&Os
10161d06d6bSBaptiste Daroussinmacros in that order, is required for every document.
10261d06d6bSBaptiste Daroussin.Pp
10361d06d6bSBaptiste DaroussinThe first section (sections are denoted by
1047295610fSBaptiste Daroussin.Ic \&Sh )
10561d06d6bSBaptiste Daroussinmust be the NAME section, consisting of at least one
1067295610fSBaptiste Daroussin.Ic \&Nm
10761d06d6bSBaptiste Daroussinfollowed by
1087295610fSBaptiste Daroussin.Ic \&Nd .
10961d06d6bSBaptiste Daroussin.Pp
11061d06d6bSBaptiste DaroussinFollowing that, convention dictates specifying at least the
11161d06d6bSBaptiste Daroussin.Em SYNOPSIS
11261d06d6bSBaptiste Daroussinand
11361d06d6bSBaptiste Daroussin.Em DESCRIPTION
11461d06d6bSBaptiste Daroussinsections, although this varies between manual sections.
11561d06d6bSBaptiste Daroussin.Pp
11661d06d6bSBaptiste DaroussinThe following is a well-formed skeleton
11761d06d6bSBaptiste Daroussin.Nm
11861d06d6bSBaptiste Daroussinfile for a utility
11961d06d6bSBaptiste Daroussin.Qq progname :
12061d06d6bSBaptiste Daroussin.Bd -literal -offset indent
12161d06d6bSBaptiste Daroussin\&.Dd $\&Mdocdate$
12261d06d6bSBaptiste Daroussin\&.Dt PROGNAME section
12361d06d6bSBaptiste Daroussin\&.Os
12461d06d6bSBaptiste Daroussin\&.Sh NAME
12561d06d6bSBaptiste Daroussin\&.Nm progname
12661d06d6bSBaptiste Daroussin\&.Nd one line about what it does
12761d06d6bSBaptiste Daroussin\&.\e\(dq .Sh LIBRARY
12861d06d6bSBaptiste Daroussin\&.\e\(dq For sections 2, 3, and 9 only.
12961d06d6bSBaptiste Daroussin\&.\e\(dq Not used in OpenBSD.
13061d06d6bSBaptiste Daroussin\&.Sh SYNOPSIS
13161d06d6bSBaptiste Daroussin\&.Nm progname
13261d06d6bSBaptiste Daroussin\&.Op Fl options
13361d06d6bSBaptiste Daroussin\&.Ar
13461d06d6bSBaptiste Daroussin\&.Sh DESCRIPTION
13561d06d6bSBaptiste DaroussinThe
13661d06d6bSBaptiste Daroussin\&.Nm
13761d06d6bSBaptiste Daroussinutility processes files ...
13861d06d6bSBaptiste Daroussin\&.\e\(dq .Sh CONTEXT
13961d06d6bSBaptiste Daroussin\&.\e\(dq For section 9 functions only.
140*d235f19dSAlexander Ziaee\&.\e\(dq .Sh HARDWARE
141*d235f19dSAlexander Ziaee\&.\e\(dq For section 4 only.
142*d235f19dSAlexander Ziaee\&.\e\(dq Not used in OpenBSD.
14361d06d6bSBaptiste Daroussin\&.\e\(dq .Sh IMPLEMENTATION NOTES
14461d06d6bSBaptiste Daroussin\&.\e\(dq Not used in OpenBSD.
14561d06d6bSBaptiste Daroussin\&.\e\(dq .Sh RETURN VALUES
14661d06d6bSBaptiste Daroussin\&.\e\(dq For sections 2, 3, and 9 function return values only.
14761d06d6bSBaptiste Daroussin\&.\e\(dq .Sh ENVIRONMENT
14861d06d6bSBaptiste Daroussin\&.\e\(dq For sections 1, 6, 7, and 8 only.
14961d06d6bSBaptiste Daroussin\&.\e\(dq .Sh FILES
15061d06d6bSBaptiste Daroussin\&.\e\(dq .Sh EXIT STATUS
15161d06d6bSBaptiste Daroussin\&.\e\(dq For sections 1, 6, and 8 only.
15261d06d6bSBaptiste Daroussin\&.\e\(dq .Sh EXAMPLES
15361d06d6bSBaptiste Daroussin\&.\e\(dq .Sh DIAGNOSTICS
15461d06d6bSBaptiste Daroussin\&.\e\(dq For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only.
15561d06d6bSBaptiste Daroussin\&.\e\(dq .Sh ERRORS
15661d06d6bSBaptiste Daroussin\&.\e\(dq For sections 2, 3, 4, and 9 errno settings only.
15761d06d6bSBaptiste Daroussin\&.\e\(dq .Sh SEE ALSO
15861d06d6bSBaptiste Daroussin\&.\e\(dq .Xr foobar 1
15961d06d6bSBaptiste Daroussin\&.\e\(dq .Sh STANDARDS
16061d06d6bSBaptiste Daroussin\&.\e\(dq .Sh HISTORY
16161d06d6bSBaptiste Daroussin\&.\e\(dq .Sh AUTHORS
16261d06d6bSBaptiste Daroussin\&.\e\(dq .Sh CAVEATS
16361d06d6bSBaptiste Daroussin\&.\e\(dq .Sh BUGS
16461d06d6bSBaptiste Daroussin\&.\e\(dq .Sh SECURITY CONSIDERATIONS
16561d06d6bSBaptiste Daroussin\&.\e\(dq Not used in OpenBSD.
16661d06d6bSBaptiste Daroussin.Ed
16761d06d6bSBaptiste Daroussin.Pp
16861d06d6bSBaptiste DaroussinThe sections in an
16961d06d6bSBaptiste Daroussin.Nm
17061d06d6bSBaptiste Daroussindocument are conventionally ordered as they appear above.
17161d06d6bSBaptiste DaroussinSections should be composed as follows:
17261d06d6bSBaptiste Daroussin.Bl -ohang -offset Ds
17361d06d6bSBaptiste Daroussin.It Em NAME
17461d06d6bSBaptiste DaroussinThe name(s) and a one line description of the documented material.
17561d06d6bSBaptiste DaroussinThe syntax for this as follows:
17661d06d6bSBaptiste Daroussin.Bd -literal -offset indent
17761d06d6bSBaptiste Daroussin\&.Nm name0 ,
17861d06d6bSBaptiste Daroussin\&.Nm name1 ,
17961d06d6bSBaptiste Daroussin\&.Nm name2
18061d06d6bSBaptiste Daroussin\&.Nd a one line description
18161d06d6bSBaptiste Daroussin.Ed
18261d06d6bSBaptiste Daroussin.Pp
18361d06d6bSBaptiste DaroussinMultiple
18461d06d6bSBaptiste Daroussin.Sq \&Nm
18561d06d6bSBaptiste Daroussinnames should be separated by commas.
18661d06d6bSBaptiste Daroussin.Pp
18761d06d6bSBaptiste DaroussinThe
1887295610fSBaptiste Daroussin.Ic \&Nm
18961d06d6bSBaptiste Daroussinmacro(s) must precede the
1907295610fSBaptiste Daroussin.Ic \&Nd
19161d06d6bSBaptiste Daroussinmacro.
19261d06d6bSBaptiste Daroussin.Pp
19361d06d6bSBaptiste DaroussinSee
1947295610fSBaptiste Daroussin.Ic \&Nm
19561d06d6bSBaptiste Daroussinand
1967295610fSBaptiste Daroussin.Ic \&Nd .
19761d06d6bSBaptiste Daroussin.It Em LIBRARY
19861d06d6bSBaptiste DaroussinThe name of the library containing the documented material, which is
19961d06d6bSBaptiste Daroussinassumed to be a function in a section 2, 3, or 9 manual.
20061d06d6bSBaptiste DaroussinThe syntax for this is as follows:
20161d06d6bSBaptiste Daroussin.Bd -literal -offset indent
20261d06d6bSBaptiste Daroussin\&.Lb libarm
20361d06d6bSBaptiste Daroussin.Ed
20461d06d6bSBaptiste Daroussin.Pp
20561d06d6bSBaptiste DaroussinSee
2067295610fSBaptiste Daroussin.Ic \&Lb .
20761d06d6bSBaptiste Daroussin.It Em SYNOPSIS
20861d06d6bSBaptiste DaroussinDocuments the utility invocation syntax, function call syntax, or device
20961d06d6bSBaptiste Daroussinconfiguration.
21061d06d6bSBaptiste Daroussin.Pp
21161d06d6bSBaptiste DaroussinFor the first, utilities (sections 1, 6, and 8), this is
21261d06d6bSBaptiste Daroussingenerally structured as follows:
21361d06d6bSBaptiste Daroussin.Bd -literal -offset indent
21461d06d6bSBaptiste Daroussin\&.Nm bar
21561d06d6bSBaptiste Daroussin\&.Op Fl v
21661d06d6bSBaptiste Daroussin\&.Op Fl o Ar file
21761d06d6bSBaptiste Daroussin\&.Op Ar
21861d06d6bSBaptiste Daroussin\&.Nm foo
21961d06d6bSBaptiste Daroussin\&.Op Fl v
22061d06d6bSBaptiste Daroussin\&.Op Fl o Ar file
22161d06d6bSBaptiste Daroussin\&.Op Ar
22261d06d6bSBaptiste Daroussin.Ed
22361d06d6bSBaptiste Daroussin.Pp
22461d06d6bSBaptiste DaroussinCommands should be ordered alphabetically.
22561d06d6bSBaptiste Daroussin.Pp
22661d06d6bSBaptiste DaroussinFor the second, function calls (sections 2, 3, 9):
22761d06d6bSBaptiste Daroussin.Bd -literal -offset indent
22861d06d6bSBaptiste Daroussin\&.In header.h
22961d06d6bSBaptiste Daroussin\&.Vt extern const char *global;
23061d06d6bSBaptiste Daroussin\&.Ft "char *"
23161d06d6bSBaptiste Daroussin\&.Fn foo "const char *src"
23261d06d6bSBaptiste Daroussin\&.Ft "char *"
23361d06d6bSBaptiste Daroussin\&.Fn bar "const char *src"
23461d06d6bSBaptiste Daroussin.Ed
23561d06d6bSBaptiste Daroussin.Pp
23661d06d6bSBaptiste DaroussinOrdering of
2377295610fSBaptiste Daroussin.Ic \&In ,
2387295610fSBaptiste Daroussin.Ic \&Vt ,
2397295610fSBaptiste Daroussin.Ic \&Fn ,
24061d06d6bSBaptiste Daroussinand
2417295610fSBaptiste Daroussin.Ic \&Fo
24261d06d6bSBaptiste Daroussinmacros should follow C header-file conventions.
24361d06d6bSBaptiste Daroussin.Pp
24461d06d6bSBaptiste DaroussinAnd for the third, configurations (section 4):
24561d06d6bSBaptiste Daroussin.Bd -literal -offset indent
24661d06d6bSBaptiste Daroussin\&.Cd \(dqit* at isa? port 0x2e\(dq
24761d06d6bSBaptiste Daroussin\&.Cd \(dqit* at isa? port 0x4e\(dq
24861d06d6bSBaptiste Daroussin.Ed
24961d06d6bSBaptiste Daroussin.Pp
25061d06d6bSBaptiste DaroussinManuals not in these sections generally don't need a
25161d06d6bSBaptiste Daroussin.Em SYNOPSIS .
25261d06d6bSBaptiste Daroussin.Pp
25361d06d6bSBaptiste DaroussinSome macros are displayed differently in the
25461d06d6bSBaptiste Daroussin.Em SYNOPSIS
25561d06d6bSBaptiste Daroussinsection, particularly
2567295610fSBaptiste Daroussin.Ic \&Nm ,
2577295610fSBaptiste Daroussin.Ic \&Cd ,
2587295610fSBaptiste Daroussin.Ic \&Fd ,
2597295610fSBaptiste Daroussin.Ic \&Fn ,
2607295610fSBaptiste Daroussin.Ic \&Fo ,
2617295610fSBaptiste Daroussin.Ic \&In ,
2627295610fSBaptiste Daroussin.Ic \&Vt ,
26361d06d6bSBaptiste Daroussinand
2647295610fSBaptiste Daroussin.Ic \&Ft .
26561d06d6bSBaptiste DaroussinAll of these macros are output on their own line.
26661d06d6bSBaptiste DaroussinIf two such dissimilar macros are pairwise invoked (except for
2677295610fSBaptiste Daroussin.Ic \&Ft
26861d06d6bSBaptiste Daroussinbefore
2697295610fSBaptiste Daroussin.Ic \&Fo
27061d06d6bSBaptiste Daroussinor
2717295610fSBaptiste Daroussin.Ic \&Fn ) ,
27261d06d6bSBaptiste Daroussinthey are separated by a vertical space, unless in the case of
2737295610fSBaptiste Daroussin.Ic \&Fo ,
2747295610fSBaptiste Daroussin.Ic \&Fn ,
27561d06d6bSBaptiste Daroussinand
2767295610fSBaptiste Daroussin.Ic \&Ft ,
27761d06d6bSBaptiste Daroussinwhich are always separated by vertical space.
27861d06d6bSBaptiste Daroussin.Pp
27961d06d6bSBaptiste DaroussinWhen text and macros following an
2807295610fSBaptiste Daroussin.Ic \&Nm
28161d06d6bSBaptiste Daroussinmacro starting an input line span multiple output lines,
28261d06d6bSBaptiste Daroussinall output lines but the first will be indented to align
28361d06d6bSBaptiste Daroussinwith the text immediately following the
2847295610fSBaptiste Daroussin.Ic \&Nm
28561d06d6bSBaptiste Daroussinmacro, up to the next
2867295610fSBaptiste Daroussin.Ic \&Nm ,
2877295610fSBaptiste Daroussin.Ic \&Sh ,
28861d06d6bSBaptiste Daroussinor
2897295610fSBaptiste Daroussin.Ic \&Ss
29061d06d6bSBaptiste Daroussinmacro or the end of an enclosing block, whichever comes first.
29161d06d6bSBaptiste Daroussin.It Em DESCRIPTION
29261d06d6bSBaptiste DaroussinThis begins with an expansion of the brief, one line description in
29361d06d6bSBaptiste Daroussin.Em NAME :
29461d06d6bSBaptiste Daroussin.Bd -literal -offset indent
29561d06d6bSBaptiste DaroussinThe
29661d06d6bSBaptiste Daroussin\&.Nm
29761d06d6bSBaptiste Daroussinutility does this, that, and the other.
29861d06d6bSBaptiste Daroussin.Ed
29961d06d6bSBaptiste Daroussin.Pp
30061d06d6bSBaptiste DaroussinIt usually follows with a breakdown of the options (if documenting a
30161d06d6bSBaptiste Daroussincommand), such as:
30261d06d6bSBaptiste Daroussin.Bd -literal -offset indent
3036d38604fSBaptiste DaroussinThe options are as follows:
30461d06d6bSBaptiste Daroussin\&.Bl \-tag \-width Ds
30561d06d6bSBaptiste Daroussin\&.It Fl v
30661d06d6bSBaptiste DaroussinPrint verbose information.
30761d06d6bSBaptiste Daroussin\&.El
30861d06d6bSBaptiste Daroussin.Ed
30961d06d6bSBaptiste Daroussin.Pp
31061d06d6bSBaptiste DaroussinList the options in alphabetical order,
31161d06d6bSBaptiste Daroussinuppercase before lowercase for each letter and
31261d06d6bSBaptiste Daroussinwith no regard to whether an option takes an argument.
31361d06d6bSBaptiste DaroussinPut digits in ascending order before all letter options.
31461d06d6bSBaptiste Daroussin.Pp
31561d06d6bSBaptiste DaroussinManuals not documenting a command won't include the above fragment.
31661d06d6bSBaptiste Daroussin.Pp
31761d06d6bSBaptiste DaroussinSince the
31861d06d6bSBaptiste Daroussin.Em DESCRIPTION
31961d06d6bSBaptiste Daroussinsection usually contains most of the text of a manual, longer manuals
32061d06d6bSBaptiste Daroussinoften use the
3217295610fSBaptiste Daroussin.Ic \&Ss
32261d06d6bSBaptiste Daroussinmacro to form subsections.
32361d06d6bSBaptiste DaroussinIn very long manuals, the
32461d06d6bSBaptiste Daroussin.Em DESCRIPTION
32561d06d6bSBaptiste Daroussinmay be split into multiple sections, each started by an
3267295610fSBaptiste Daroussin.Ic \&Sh
32761d06d6bSBaptiste Daroussinmacro followed by a non-standard section name, and each having
32861d06d6bSBaptiste Daroussinseveral subsections, like in the present
32961d06d6bSBaptiste Daroussin.Nm
33061d06d6bSBaptiste Daroussinmanual.
33161d06d6bSBaptiste Daroussin.It Em CONTEXT
33261d06d6bSBaptiste DaroussinThis section lists the contexts in which functions can be called in section 9.
33361d06d6bSBaptiste DaroussinThe contexts are autoconf, process, or interrupt.
334*d235f19dSAlexander Ziaee.It Em HARDWARE
335*d235f19dSAlexander ZiaeeThis section lists the hardware support
336*d235f19dSAlexander Ziaeeprovided by kernel modules in section 4.
337*d235f19dSAlexander ZiaeeFreeBSD Hardware Compatibility Notes are generated from this section.
33861d06d6bSBaptiste Daroussin.It Em IMPLEMENTATION NOTES
33961d06d6bSBaptiste DaroussinImplementation-specific notes should be kept here.
34061d06d6bSBaptiste DaroussinThis is useful when implementing standard functions that may have side
34161d06d6bSBaptiste Daroussineffects or notable algorithmic implications.
34261d06d6bSBaptiste Daroussin.It Em RETURN VALUES
34361d06d6bSBaptiste DaroussinThis section documents the
34461d06d6bSBaptiste Daroussinreturn values of functions in sections 2, 3, and 9.
34561d06d6bSBaptiste Daroussin.Pp
34661d06d6bSBaptiste DaroussinSee
3477295610fSBaptiste Daroussin.Ic \&Rv .
34861d06d6bSBaptiste Daroussin.It Em ENVIRONMENT
34961d06d6bSBaptiste DaroussinLists the environment variables used by the utility,
35061d06d6bSBaptiste Daroussinand explains the syntax and semantics of their values.
35161d06d6bSBaptiste DaroussinThe
35261d06d6bSBaptiste Daroussin.Xr environ 7
35361d06d6bSBaptiste Daroussinmanual provides examples of typical content and formatting.
35461d06d6bSBaptiste Daroussin.Pp
35561d06d6bSBaptiste DaroussinSee
3567295610fSBaptiste Daroussin.Ic \&Ev .
35761d06d6bSBaptiste Daroussin.It Em FILES
35861d06d6bSBaptiste DaroussinDocuments files used.
35961d06d6bSBaptiste DaroussinIt's helpful to document both the file name and a short description of how
36061d06d6bSBaptiste Daroussinthe file is used (created, modified, etc.).
36161d06d6bSBaptiste Daroussin.Pp
36261d06d6bSBaptiste DaroussinSee
3637295610fSBaptiste Daroussin.Ic \&Pa .
36461d06d6bSBaptiste Daroussin.It Em EXIT STATUS
36561d06d6bSBaptiste DaroussinThis section documents the
36661d06d6bSBaptiste Daroussincommand exit status for section 1, 6, and 8 utilities.
36761d06d6bSBaptiste DaroussinHistorically, this information was described in
36861d06d6bSBaptiste Daroussin.Em DIAGNOSTICS ,
36961d06d6bSBaptiste Daroussina practise that is now discouraged.
37061d06d6bSBaptiste Daroussin.Pp
37161d06d6bSBaptiste DaroussinSee
3727295610fSBaptiste Daroussin.Ic \&Ex .
37361d06d6bSBaptiste Daroussin.It Em EXAMPLES
37461d06d6bSBaptiste DaroussinExample usages.
37561d06d6bSBaptiste DaroussinThis often contains snippets of well-formed, well-tested invocations.
37661d06d6bSBaptiste DaroussinMake sure that examples work properly!
37761d06d6bSBaptiste Daroussin.It Em DIAGNOSTICS
37861d06d6bSBaptiste DaroussinDocuments error messages.
37961d06d6bSBaptiste DaroussinIn section 4 and 9 manuals, these are usually messages printed by the
38061d06d6bSBaptiste Daroussinkernel to the console and to the kernel log.
38161d06d6bSBaptiste DaroussinIn section 1, 6, 7, and 8, these are usually messages printed by
38261d06d6bSBaptiste Daroussinuserland programs to the standard error output.
38361d06d6bSBaptiste Daroussin.Pp
38461d06d6bSBaptiste DaroussinHistorically, this section was used in place of
38561d06d6bSBaptiste Daroussin.Em EXIT STATUS
38661d06d6bSBaptiste Daroussinfor manuals in sections 1, 6, and 8; however, this practise is
38761d06d6bSBaptiste Daroussindiscouraged.
38861d06d6bSBaptiste Daroussin.Pp
38961d06d6bSBaptiste DaroussinSee
3907295610fSBaptiste Daroussin.Ic \&Bl
39161d06d6bSBaptiste Daroussin.Fl diag .
39261d06d6bSBaptiste Daroussin.It Em ERRORS
39361d06d6bSBaptiste DaroussinDocuments
39461d06d6bSBaptiste Daroussin.Xr errno 2
39561d06d6bSBaptiste Daroussinsettings in sections 2, 3, 4, and 9.
39661d06d6bSBaptiste Daroussin.Pp
39761d06d6bSBaptiste DaroussinSee
3987295610fSBaptiste Daroussin.Ic \&Er .
39961d06d6bSBaptiste Daroussin.It Em SEE ALSO
40061d06d6bSBaptiste DaroussinReferences other manuals with related topics.
40161d06d6bSBaptiste DaroussinThis section should exist for most manuals.
40261d06d6bSBaptiste DaroussinCross-references should conventionally be ordered first by section, then
40361d06d6bSBaptiste Daroussinalphabetically (ignoring case).
40461d06d6bSBaptiste Daroussin.Pp
40561d06d6bSBaptiste DaroussinReferences to other documentation concerning the topic of the manual page,
40661d06d6bSBaptiste Daroussinfor example authoritative books or journal articles, may also be
40761d06d6bSBaptiste Daroussinprovided in this section.
40861d06d6bSBaptiste Daroussin.Pp
40961d06d6bSBaptiste DaroussinSee
4107295610fSBaptiste Daroussin.Ic \&Rs
41161d06d6bSBaptiste Daroussinand
4127295610fSBaptiste Daroussin.Ic \&Xr .
41361d06d6bSBaptiste Daroussin.It Em STANDARDS
41461d06d6bSBaptiste DaroussinReferences any standards implemented or used.
41561d06d6bSBaptiste DaroussinIf not adhering to any standards, the
41661d06d6bSBaptiste Daroussin.Em HISTORY
41761d06d6bSBaptiste Daroussinsection should be used instead.
41861d06d6bSBaptiste Daroussin.Pp
41961d06d6bSBaptiste DaroussinSee
4207295610fSBaptiste Daroussin.Ic \&St .
42161d06d6bSBaptiste Daroussin.It Em HISTORY
42261d06d6bSBaptiste DaroussinA brief history of the subject, including where it was first implemented,
42361d06d6bSBaptiste Daroussinand when it was ported to or reimplemented for the operating system at hand.
42461d06d6bSBaptiste Daroussin.It Em AUTHORS
42561d06d6bSBaptiste DaroussinCredits to the person or persons who wrote the code and/or documentation.
42661d06d6bSBaptiste DaroussinAuthors should generally be noted by both name and email address.
42761d06d6bSBaptiste Daroussin.Pp
42861d06d6bSBaptiste DaroussinSee
4297295610fSBaptiste Daroussin.Ic \&An .
43061d06d6bSBaptiste Daroussin.It Em CAVEATS
43161d06d6bSBaptiste DaroussinCommon misuses and misunderstandings should be explained
43261d06d6bSBaptiste Daroussinin this section.
43361d06d6bSBaptiste Daroussin.It Em BUGS
43461d06d6bSBaptiste DaroussinKnown bugs, limitations, and work-arounds should be described
43561d06d6bSBaptiste Daroussinin this section.
43661d06d6bSBaptiste Daroussin.It Em SECURITY CONSIDERATIONS
43761d06d6bSBaptiste DaroussinDocuments any security precautions that operators should consider.
43861d06d6bSBaptiste Daroussin.El
43961d06d6bSBaptiste Daroussin.Sh MACRO OVERVIEW
44061d06d6bSBaptiste DaroussinThis overview is sorted such that macros of similar purpose are listed
44161d06d6bSBaptiste Daroussintogether, to help find the best macro for any given purpose.
44261d06d6bSBaptiste DaroussinDeprecated macros are not included in the overview, but can be found below
44361d06d6bSBaptiste Daroussinin the alphabetical
44461d06d6bSBaptiste Daroussin.Sx MACRO REFERENCE .
44561d06d6bSBaptiste Daroussin.Ss Document preamble and NAME section macros
44661d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
4477295610fSBaptiste Daroussin.It Ic \&Dd Ta document date: Cm $\&Mdocdate$ | Ar month day , year
4487295610fSBaptiste Daroussin.It Ic \&Dt Ta document title: Ar TITLE section Op Ar arch
449c1c95addSBrooks Davis.It Ic \&Os Ta operating system footer: Op Ar footer text
4507295610fSBaptiste Daroussin.It Ic \&Nm Ta document name (one argument)
4517295610fSBaptiste Daroussin.It Ic \&Nd Ta document description (one line)
45261d06d6bSBaptiste Daroussin.El
45361d06d6bSBaptiste Daroussin.Ss Sections and cross references
45461d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
4557295610fSBaptiste Daroussin.It Ic \&Sh Ta section header (one line)
4567295610fSBaptiste Daroussin.It Ic \&Ss Ta subsection header (one line)
4577295610fSBaptiste Daroussin.It Ic \&Sx Ta internal cross reference to a section or subsection
4587295610fSBaptiste Daroussin.It Ic \&Xr Ta cross reference to another manual page: Ar name section
4596d38604fSBaptiste Daroussin.It Ic \&Tg Ta tag the definition of a Ar term Pq <= 1 arguments
4607295610fSBaptiste Daroussin.It Ic \&Pp Ta start a text paragraph (no arguments)
46161d06d6bSBaptiste Daroussin.El
46261d06d6bSBaptiste Daroussin.Ss Displays and lists
46361d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
4647295610fSBaptiste Daroussin.It Ic \&Bd , \&Ed Ta display block:
46561d06d6bSBaptiste Daroussin.Fl Ar type
46661d06d6bSBaptiste Daroussin.Op Fl offset Ar width
46761d06d6bSBaptiste Daroussin.Op Fl compact
4687295610fSBaptiste Daroussin.It Ic \&D1 Ta indented display (one line)
4697295610fSBaptiste Daroussin.It Ic \&Dl Ta indented literal display (one line)
4707295610fSBaptiste Daroussin.It Ic \&Ql Ta in-line literal display: Ql text
4717295610fSBaptiste Daroussin.It Ic \&Bl , \&El Ta list block:
47261d06d6bSBaptiste Daroussin.Fl Ar type
47361d06d6bSBaptiste Daroussin.Op Fl width Ar val
47461d06d6bSBaptiste Daroussin.Op Fl offset Ar val
47561d06d6bSBaptiste Daroussin.Op Fl compact
4767295610fSBaptiste Daroussin.It Ic \&It Ta list item (syntax depends on Fl Ar type )
4777295610fSBaptiste Daroussin.It Ic \&Ta Ta table cell separator in Ic \&Bl Fl column No lists
4787295610fSBaptiste Daroussin.It Ic \&Rs , \&%* , \&Re Ta bibliographic block (references)
47961d06d6bSBaptiste Daroussin.El
48061d06d6bSBaptiste Daroussin.Ss Spacing control
48161d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
4827295610fSBaptiste Daroussin.It Ic \&Pf Ta prefix, no following horizontal space (one argument)
4837295610fSBaptiste Daroussin.It Ic \&Ns Ta roman font, no preceding horizontal space (no arguments)
4847295610fSBaptiste Daroussin.It Ic \&Ap Ta apostrophe without surrounding whitespace (no arguments)
4857295610fSBaptiste Daroussin.It Ic \&Sm Ta switch horizontal spacing mode: Op Cm on | off
4867295610fSBaptiste Daroussin.It Ic \&Bk , \&Ek Ta keep block: Fl words
48761d06d6bSBaptiste Daroussin.El
48861d06d6bSBaptiste Daroussin.Ss Semantic markup for command line utilities
48961d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
4907295610fSBaptiste Daroussin.It Ic \&Nm Ta start a SYNOPSIS block with the name of a utility
4917295610fSBaptiste Daroussin.It Ic \&Fl Ta command line options (flags) (>=0 arguments)
4927295610fSBaptiste Daroussin.It Ic \&Cm Ta command modifier (>0 arguments)
4937295610fSBaptiste Daroussin.It Ic \&Ar Ta command arguments (>=0 arguments)
4947295610fSBaptiste Daroussin.It Ic \&Op , \&Oo , \&Oc Ta optional syntax elements (enclosure)
4957295610fSBaptiste Daroussin.It Ic \&Ic Ta internal or interactive command (>0 arguments)
4967295610fSBaptiste Daroussin.It Ic \&Ev Ta environmental variable (>0 arguments)
4977295610fSBaptiste Daroussin.It Ic \&Pa Ta file system path (>=0 arguments)
49861d06d6bSBaptiste Daroussin.El
49961d06d6bSBaptiste Daroussin.Ss Semantic markup for function libraries
50061d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
5017295610fSBaptiste Daroussin.It Ic \&Lb Ta function library (one argument)
5027295610fSBaptiste Daroussin.It Ic \&In Ta include file (one argument)
5037295610fSBaptiste Daroussin.It Ic \&Fd Ta other preprocessor directive (>0 arguments)
5047295610fSBaptiste Daroussin.It Ic \&Ft Ta function type (>0 arguments)
5057295610fSBaptiste Daroussin.It Ic \&Fo , \&Fc Ta function block: Ar funcname
5067295610fSBaptiste Daroussin.It Ic \&Fn Ta function name: Ar funcname Op Ar argument ...
5077295610fSBaptiste Daroussin.It Ic \&Fa Ta function argument (>0 arguments)
5087295610fSBaptiste Daroussin.It Ic \&Vt Ta variable type (>0 arguments)
5097295610fSBaptiste Daroussin.It Ic \&Va Ta variable name (>0 arguments)
5107295610fSBaptiste Daroussin.It Ic \&Dv Ta defined variable or preprocessor constant (>0 arguments)
5117295610fSBaptiste Daroussin.It Ic \&Er Ta error constant (>0 arguments)
5127295610fSBaptiste Daroussin.It Ic \&Ev Ta environmental variable (>0 arguments)
51361d06d6bSBaptiste Daroussin.El
51461d06d6bSBaptiste Daroussin.Ss Various semantic markup
51561d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
5167295610fSBaptiste Daroussin.It Ic \&An Ta author name (>0 arguments)
5177295610fSBaptiste Daroussin.It Ic \&Lk Ta hyperlink: Ar uri Op Ar display_name
5187295610fSBaptiste Daroussin.It Ic \&Mt Ta Do mailto Dc hyperlink: Ar localpart Ns @ Ns Ar domain
5197295610fSBaptiste Daroussin.It Ic \&Cd Ta kernel configuration declaration (>0 arguments)
5207295610fSBaptiste Daroussin.It Ic \&Ad Ta memory address (>0 arguments)
5217295610fSBaptiste Daroussin.It Ic \&Ms Ta mathematical symbol (>0 arguments)
52261d06d6bSBaptiste Daroussin.El
52361d06d6bSBaptiste Daroussin.Ss Physical markup
52461d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
5257295610fSBaptiste Daroussin.It Ic \&Em Ta italic font or underline (emphasis) (>0 arguments)
5267295610fSBaptiste Daroussin.It Ic \&Sy Ta boldface font (symbolic) (>0 arguments)
5277295610fSBaptiste Daroussin.It Ic \&No Ta return to roman font (normal) (>0 arguments)
5287295610fSBaptiste Daroussin.It Ic \&Bf , \&Ef Ta font block: Fl Ar type | Cm \&Em | \&Li | \&Sy
52961d06d6bSBaptiste Daroussin.El
53061d06d6bSBaptiste Daroussin.Ss Physical enclosures
53161d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
5327295610fSBaptiste Daroussin.It Ic \&Dq , \&Do , \&Dc Ta enclose in typographic double quotes: Dq text
5337295610fSBaptiste Daroussin.It Ic \&Qq , \&Qo , \&Qc Ta enclose in typewriter double quotes: Qq text
5347295610fSBaptiste Daroussin.It Ic \&Sq , \&So , \&Sc Ta enclose in single quotes: Sq text
5357295610fSBaptiste Daroussin.It Ic \&Pq , \&Po , \&Pc Ta enclose in parentheses: Pq text
5367295610fSBaptiste Daroussin.It Ic \&Bq , \&Bo , \&Bc Ta enclose in square brackets: Bq text
5377295610fSBaptiste Daroussin.It Ic \&Brq , \&Bro , \&Brc Ta enclose in curly braces: Brq text
5387295610fSBaptiste Daroussin.It Ic \&Aq , \&Ao , \&Ac Ta enclose in angle brackets: Aq text
5397295610fSBaptiste Daroussin.It Ic \&Eo , \&Ec Ta generic enclosure
54061d06d6bSBaptiste Daroussin.El
54161d06d6bSBaptiste Daroussin.Ss Text production
54261d06d6bSBaptiste Daroussin.Bl -column "Brq, Bro, Brc" description
5437295610fSBaptiste Daroussin.It Ic \&Ex Fl std Ta standard command exit values: Op Ar utility ...
5447295610fSBaptiste Daroussin.It Ic \&Rv Fl std Ta standard function return values: Op Ar function ...
5457295610fSBaptiste Daroussin.It Ic \&St Ta reference to a standards document (one argument)
5467295610fSBaptiste Daroussin.It Ic \&At Ta At
5477295610fSBaptiste Daroussin.It Ic \&Bx Ta Bx
5487295610fSBaptiste Daroussin.It Ic \&Bsx Ta Bsx
5497295610fSBaptiste Daroussin.It Ic \&Nx Ta Nx
5507295610fSBaptiste Daroussin.It Ic \&Fx Ta Fx
5517295610fSBaptiste Daroussin.It Ic \&Ox Ta Ox
5527295610fSBaptiste Daroussin.It Ic \&Dx Ta Dx
55361d06d6bSBaptiste Daroussin.El
55461d06d6bSBaptiste Daroussin.Sh MACRO REFERENCE
55561d06d6bSBaptiste DaroussinThis section is a canonical reference of all macros, arranged
55661d06d6bSBaptiste Daroussinalphabetically.
55761d06d6bSBaptiste DaroussinFor the scoping of individual macros, see
55861d06d6bSBaptiste Daroussin.Sx MACRO SYNTAX .
5597295610fSBaptiste Daroussin.Bl -tag -width 3n
5607295610fSBaptiste Daroussin.It Ic \&%A Ar first_name ... last_name
56161d06d6bSBaptiste DaroussinAuthor name of an
5627295610fSBaptiste Daroussin.Ic \&Rs
56361d06d6bSBaptiste Daroussinblock.
56461d06d6bSBaptiste DaroussinMultiple authors should each be accorded their own
5657295610fSBaptiste Daroussin.Ic \%%A
56661d06d6bSBaptiste Daroussinline.
56761d06d6bSBaptiste DaroussinAuthor names should be ordered with full or abbreviated forename(s)
56861d06d6bSBaptiste Daroussinfirst, then full surname.
5697295610fSBaptiste Daroussin.It Ic \&%B Ar title
57061d06d6bSBaptiste DaroussinBook title of an
5717295610fSBaptiste Daroussin.Ic \&Rs
57261d06d6bSBaptiste Daroussinblock.
57361d06d6bSBaptiste DaroussinThis macro may also be used in a non-bibliographic context when
57461d06d6bSBaptiste Daroussinreferring to book titles.
5757295610fSBaptiste Daroussin.It Ic \&%C Ar location
57661d06d6bSBaptiste DaroussinPublication city or location of an
5777295610fSBaptiste Daroussin.Ic \&Rs
57861d06d6bSBaptiste Daroussinblock.
5797295610fSBaptiste Daroussin.It Ic \&%D Oo Ar month day , Oc Ar year
58061d06d6bSBaptiste DaroussinPublication date of an
5817295610fSBaptiste Daroussin.Ic \&Rs
58261d06d6bSBaptiste Daroussinblock.
5837295610fSBaptiste DaroussinProvide the full English name of the
5847295610fSBaptiste Daroussin.Ar month
5857295610fSBaptiste Daroussinand all four digits of the
58661d06d6bSBaptiste Daroussin.Ar year .
5877295610fSBaptiste Daroussin.It Ic \&%I Ar name
58861d06d6bSBaptiste DaroussinPublisher or issuer name of an
5897295610fSBaptiste Daroussin.Ic \&Rs
59061d06d6bSBaptiste Daroussinblock.
5917295610fSBaptiste Daroussin.It Ic \&%J Ar name
59261d06d6bSBaptiste DaroussinJournal name of an
5937295610fSBaptiste Daroussin.Ic \&Rs
59461d06d6bSBaptiste Daroussinblock.
5957295610fSBaptiste Daroussin.It Ic \&%N Ar number
59661d06d6bSBaptiste DaroussinIssue number (usually for journals) of an
5977295610fSBaptiste Daroussin.Ic \&Rs
59861d06d6bSBaptiste Daroussinblock.
5997295610fSBaptiste Daroussin.It Ic \&%O Ar line
60061d06d6bSBaptiste DaroussinOptional information of an
6017295610fSBaptiste Daroussin.Ic \&Rs
60261d06d6bSBaptiste Daroussinblock.
6037295610fSBaptiste Daroussin.It Ic \&%P Ar number
60461d06d6bSBaptiste DaroussinBook or journal page number of an
6057295610fSBaptiste Daroussin.Ic \&Rs
60661d06d6bSBaptiste Daroussinblock.
60745a5aec3SBaptiste DaroussinConventionally, the argument starts with
60845a5aec3SBaptiste Daroussin.Ql p.\&
60945a5aec3SBaptiste Daroussinfor a single page or
61045a5aec3SBaptiste Daroussin.Ql pp.\&
61145a5aec3SBaptiste Daroussinfor a range of pages, for example:
61245a5aec3SBaptiste Daroussin.Pp
61345a5aec3SBaptiste Daroussin.Dl .%P pp. 42\e(en47
6147295610fSBaptiste Daroussin.It Ic \&%Q Ar name
61561d06d6bSBaptiste DaroussinInstitutional author (school, government, etc.) of an
6167295610fSBaptiste Daroussin.Ic \&Rs
61761d06d6bSBaptiste Daroussinblock.
61861d06d6bSBaptiste DaroussinMultiple institutional authors should each be accorded their own
6197295610fSBaptiste Daroussin.Ic \&%Q
62061d06d6bSBaptiste Daroussinline.
6217295610fSBaptiste Daroussin.It Ic \&%R Ar name
62261d06d6bSBaptiste DaroussinTechnical report name of an
6237295610fSBaptiste Daroussin.Ic \&Rs
62461d06d6bSBaptiste Daroussinblock.
6257295610fSBaptiste Daroussin.It Ic \&%T Ar title
62661d06d6bSBaptiste DaroussinArticle title of an
6277295610fSBaptiste Daroussin.Ic \&Rs
62861d06d6bSBaptiste Daroussinblock.
62961d06d6bSBaptiste DaroussinThis macro may also be used in a non-bibliographical context when
63061d06d6bSBaptiste Daroussinreferring to article titles.
6317295610fSBaptiste Daroussin.It Ic \&%U Ar protocol Ns :// Ns Ar path
63261d06d6bSBaptiste DaroussinURI of reference document.
6337295610fSBaptiste Daroussin.It Ic \&%V Ar number
63461d06d6bSBaptiste DaroussinVolume number of an
6357295610fSBaptiste Daroussin.Ic \&Rs
63661d06d6bSBaptiste Daroussinblock.
6377295610fSBaptiste Daroussin.It Ic \&Ac
63861d06d6bSBaptiste DaroussinClose an
6397295610fSBaptiste Daroussin.Ic \&Ao
64061d06d6bSBaptiste Daroussinblock.
64161d06d6bSBaptiste DaroussinDoes not have any tail arguments.
6426d38604fSBaptiste Daroussin.Tg Ad
6437295610fSBaptiste Daroussin.It Ic \&Ad Ar address
64461d06d6bSBaptiste DaroussinMemory address.
64561d06d6bSBaptiste DaroussinDo not use this for postal addresses.
64661d06d6bSBaptiste Daroussin.Pp
64761d06d6bSBaptiste DaroussinExamples:
64861d06d6bSBaptiste Daroussin.Dl \&.Ad [0,$]
64961d06d6bSBaptiste Daroussin.Dl \&.Ad 0x00000000
6506d38604fSBaptiste Daroussin.Tg An
6517295610fSBaptiste Daroussin.It Ic \&An Fl split | nosplit | Ar first_name ... last_name
65261d06d6bSBaptiste DaroussinAuthor name.
65361d06d6bSBaptiste DaroussinCan be used both for the authors of the program, function, or driver
65461d06d6bSBaptiste Daroussindocumented in the manual, or for the authors of the manual itself.
65561d06d6bSBaptiste DaroussinRequires either the name of an author or one of the following arguments:
65661d06d6bSBaptiste Daroussin.Pp
65761d06d6bSBaptiste Daroussin.Bl -tag -width "-nosplitX" -offset indent -compact
65861d06d6bSBaptiste Daroussin.It Fl split
65961d06d6bSBaptiste DaroussinStart a new output line before each subsequent invocation of
6607295610fSBaptiste Daroussin.Ic \&An .
66161d06d6bSBaptiste Daroussin.It Fl nosplit
66261d06d6bSBaptiste DaroussinThe opposite of
66361d06d6bSBaptiste Daroussin.Fl split .
66461d06d6bSBaptiste Daroussin.El
66561d06d6bSBaptiste Daroussin.Pp
66661d06d6bSBaptiste DaroussinThe default is
66761d06d6bSBaptiste Daroussin.Fl nosplit .
66861d06d6bSBaptiste DaroussinThe effect of selecting either of the
66961d06d6bSBaptiste Daroussin.Fl split
67061d06d6bSBaptiste Daroussinmodes ends at the beginning of the
67161d06d6bSBaptiste Daroussin.Em AUTHORS
67261d06d6bSBaptiste Daroussinsection.
67361d06d6bSBaptiste DaroussinIn the
67461d06d6bSBaptiste Daroussin.Em AUTHORS
67561d06d6bSBaptiste Daroussinsection, the default is
67661d06d6bSBaptiste Daroussin.Fl nosplit
67761d06d6bSBaptiste Daroussinfor the first author listing and
67861d06d6bSBaptiste Daroussin.Fl split
67961d06d6bSBaptiste Daroussinfor all other author listings.
68061d06d6bSBaptiste Daroussin.Pp
68161d06d6bSBaptiste DaroussinExamples:
68261d06d6bSBaptiste Daroussin.Dl \&.An -nosplit
68361d06d6bSBaptiste Daroussin.Dl \&.An Kristaps Dzonsons \&Aq \&Mt kristaps@bsd.lv
6847295610fSBaptiste Daroussin.It Ic \&Ao Ar block
68561d06d6bSBaptiste DaroussinBegin a block enclosed by angle brackets.
68661d06d6bSBaptiste DaroussinDoes not have any head arguments.
68761d06d6bSBaptiste DaroussinThis macro is almost never useful.
68861d06d6bSBaptiste DaroussinSee
6897295610fSBaptiste Daroussin.Ic \&Aq
69061d06d6bSBaptiste Daroussinfor more details.
6916d38604fSBaptiste Daroussin.Tg Ap
6927295610fSBaptiste Daroussin.It Ic \&Ap
69361d06d6bSBaptiste DaroussinInserts an apostrophe without any surrounding whitespace.
69461d06d6bSBaptiste DaroussinThis is generally used as a grammatical device when referring to the verb
69561d06d6bSBaptiste Daroussinform of a function.
69661d06d6bSBaptiste Daroussin.Pp
69761d06d6bSBaptiste DaroussinExamples:
69861d06d6bSBaptiste Daroussin.Dl \&.Fn execve \&Ap d
6996d38604fSBaptiste Daroussin.Tg Aq
7007295610fSBaptiste Daroussin.It Ic \&Aq Ar line
7017295610fSBaptiste DaroussinEnclose the rest of the input line in angle brackets.
70261d06d6bSBaptiste DaroussinThe only important use case is for email addresses.
70361d06d6bSBaptiste DaroussinSee
7047295610fSBaptiste Daroussin.Ic \&Mt
70561d06d6bSBaptiste Daroussinfor an example.
70661d06d6bSBaptiste Daroussin.Pp
70761d06d6bSBaptiste DaroussinOccasionally, it is used for names of characters and keys, for example:
70861d06d6bSBaptiste Daroussin.Bd -literal -offset indent
70961d06d6bSBaptiste DaroussinPress the
71061d06d6bSBaptiste Daroussin\&.Aq escape
71161d06d6bSBaptiste Daroussinkey to ...
71261d06d6bSBaptiste Daroussin.Ed
71361d06d6bSBaptiste Daroussin.Pp
71461d06d6bSBaptiste DaroussinFor URIs, use
7157295610fSBaptiste Daroussin.Ic \&Lk
71661d06d6bSBaptiste Daroussininstead, and
7177295610fSBaptiste Daroussin.Ic \&In
71861d06d6bSBaptiste Daroussinfor
71961d06d6bSBaptiste Daroussin.Dq #include
72061d06d6bSBaptiste Daroussindirectives.
72161d06d6bSBaptiste DaroussinNever wrap
7227295610fSBaptiste Daroussin.Ic \&Ar
72361d06d6bSBaptiste Daroussinin
7247295610fSBaptiste Daroussin.Ic \&Aq .
72561d06d6bSBaptiste Daroussin.Pp
72661d06d6bSBaptiste DaroussinSince
7277295610fSBaptiste Daroussin.Ic \&Aq
72861d06d6bSBaptiste Daroussinusually renders with non-ASCII characters in non-ASCII output modes,
72961d06d6bSBaptiste Daroussindo not use it where the ASCII characters
73061d06d6bSBaptiste Daroussin.Sq <
73161d06d6bSBaptiste Daroussinand
73261d06d6bSBaptiste Daroussin.Sq >
73361d06d6bSBaptiste Daroussinare required as syntax elements.
73461d06d6bSBaptiste DaroussinInstead, use these characters directly in such cases, combining them
73561d06d6bSBaptiste Daroussinwith the macros
7367295610fSBaptiste Daroussin.Ic \&Pf ,
7377295610fSBaptiste Daroussin.Ic \&Ns ,
73861d06d6bSBaptiste Daroussinor
7397295610fSBaptiste Daroussin.Ic \&Eo
74061d06d6bSBaptiste Daroussinas needed.
74161d06d6bSBaptiste Daroussin.Pp
74261d06d6bSBaptiste DaroussinSee also
7437295610fSBaptiste Daroussin.Ic \&Ao .
7446d38604fSBaptiste Daroussin.Tg Ar
7457295610fSBaptiste Daroussin.It Ic \&Ar Op Ar placeholder ...
74661d06d6bSBaptiste DaroussinCommand arguments.
74761d06d6bSBaptiste DaroussinIf an argument is not provided, the string
74861d06d6bSBaptiste Daroussin.Dq file ...\&
74961d06d6bSBaptiste Daroussinis used as a default.
75061d06d6bSBaptiste Daroussin.Pp
75161d06d6bSBaptiste DaroussinExamples:
75261d06d6bSBaptiste Daroussin.Dl ".Fl o Ar file"
75361d06d6bSBaptiste Daroussin.Dl ".Ar"
75461d06d6bSBaptiste Daroussin.Dl ".Ar arg1 , arg2 ."
75561d06d6bSBaptiste Daroussin.Pp
75661d06d6bSBaptiste DaroussinThe arguments to the
7577295610fSBaptiste Daroussin.Ic \&Ar
75861d06d6bSBaptiste Daroussinmacro are names and placeholders for command arguments;
75961d06d6bSBaptiste Daroussinfor fixed strings to be passed verbatim as arguments, use
7607295610fSBaptiste Daroussin.Ic \&Fl
76161d06d6bSBaptiste Daroussinor
7627295610fSBaptiste Daroussin.Ic \&Cm .
7636d38604fSBaptiste Daroussin.Tg At
7647295610fSBaptiste Daroussin.It Ic \&At Op Ar version
76561d06d6bSBaptiste DaroussinFormats an
76661d06d6bSBaptiste Daroussin.At
76761d06d6bSBaptiste Daroussinversion.
76861d06d6bSBaptiste DaroussinAccepts one optional argument:
76961d06d6bSBaptiste Daroussin.Pp
77061d06d6bSBaptiste Daroussin.Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
77161d06d6bSBaptiste Daroussin.It Cm v[1-7] | 32v
77261d06d6bSBaptiste DaroussinA version of
77361d06d6bSBaptiste Daroussin.At .
77461d06d6bSBaptiste Daroussin.It Cm III
77561d06d6bSBaptiste Daroussin.At III .
77661d06d6bSBaptiste Daroussin.It Cm V | V.[1-4]
77761d06d6bSBaptiste DaroussinA version of
77861d06d6bSBaptiste Daroussin.At V .
77961d06d6bSBaptiste Daroussin.El
78061d06d6bSBaptiste Daroussin.Pp
78161d06d6bSBaptiste DaroussinNote that these arguments do not begin with a hyphen.
78261d06d6bSBaptiste Daroussin.Pp
78361d06d6bSBaptiste DaroussinExamples:
78461d06d6bSBaptiste Daroussin.Dl \&.At
78561d06d6bSBaptiste Daroussin.Dl \&.At III
78661d06d6bSBaptiste Daroussin.Dl \&.At V.1
78761d06d6bSBaptiste Daroussin.Pp
78861d06d6bSBaptiste DaroussinSee also
7897295610fSBaptiste Daroussin.Ic \&Bsx ,
7907295610fSBaptiste Daroussin.Ic \&Bx ,
7917295610fSBaptiste Daroussin.Ic \&Dx ,
7927295610fSBaptiste Daroussin.Ic \&Fx ,
7937295610fSBaptiste Daroussin.Ic \&Nx ,
79461d06d6bSBaptiste Daroussinand
7957295610fSBaptiste Daroussin.Ic \&Ox .
7967295610fSBaptiste Daroussin.It Ic \&Bc
79761d06d6bSBaptiste DaroussinClose a
7987295610fSBaptiste Daroussin.Ic \&Bo
79961d06d6bSBaptiste Daroussinblock.
80061d06d6bSBaptiste DaroussinDoes not have any tail arguments.
8016d38604fSBaptiste Daroussin.Tg Bd
8027295610fSBaptiste Daroussin.It Ic \&Bd Fl Ns Ar type Oo Fl offset Ar width Oc Op Fl compact
80361d06d6bSBaptiste DaroussinBegin a display block.
80461d06d6bSBaptiste DaroussinDisplay blocks are used to select a different indentation and
80561d06d6bSBaptiste Daroussinjustification than the one used by the surrounding text.
80661d06d6bSBaptiste DaroussinThey may contain both macro lines and text lines.
80761d06d6bSBaptiste DaroussinBy default, a display block is preceded by a vertical space.
80861d06d6bSBaptiste Daroussin.Pp
80961d06d6bSBaptiste DaroussinThe
81061d06d6bSBaptiste Daroussin.Ar type
81161d06d6bSBaptiste Daroussinmust be one of the following:
81261d06d6bSBaptiste Daroussin.Bl -tag -width 13n -offset indent
81361d06d6bSBaptiste Daroussin.It Fl centered
81461d06d6bSBaptiste DaroussinProduce one output line from each input line, and center-justify each line.
81561d06d6bSBaptiste DaroussinUsing this display type is not recommended; many
81661d06d6bSBaptiste Daroussin.Nm
81761d06d6bSBaptiste Daroussinimplementations render it poorly.
81861d06d6bSBaptiste Daroussin.It Fl filled
81961d06d6bSBaptiste DaroussinChange the positions of line breaks to fill each line, and left- and
82061d06d6bSBaptiste Daroussinright-justify the resulting block.
82161d06d6bSBaptiste Daroussin.It Fl literal
82261d06d6bSBaptiste DaroussinProduce one output line from each input line,
82361d06d6bSBaptiste Daroussinand do not justify the block at all.
82461d06d6bSBaptiste DaroussinPreserve white space as it appears in the input.
82561d06d6bSBaptiste DaroussinAlways use a constant-width font.
82661d06d6bSBaptiste DaroussinUse this for displaying source code.
82761d06d6bSBaptiste Daroussin.It Fl ragged
82861d06d6bSBaptiste DaroussinChange the positions of line breaks to fill each line, and left-justify
82961d06d6bSBaptiste Daroussinthe resulting block.
83061d06d6bSBaptiste Daroussin.It Fl unfilled
83161d06d6bSBaptiste DaroussinThe same as
83261d06d6bSBaptiste Daroussin.Fl literal ,
83361d06d6bSBaptiste Daroussinbut using the same font as for normal text, which is a variable width font
83461d06d6bSBaptiste Daroussinif supported by the output device.
83561d06d6bSBaptiste Daroussin.El
83661d06d6bSBaptiste Daroussin.Pp
83761d06d6bSBaptiste DaroussinThe
83861d06d6bSBaptiste Daroussin.Ar type
83961d06d6bSBaptiste Daroussinmust be provided first.
84061d06d6bSBaptiste DaroussinAdditional arguments may follow:
84161d06d6bSBaptiste Daroussin.Bl -tag -width 13n -offset indent
84261d06d6bSBaptiste Daroussin.It Fl offset Ar width
84361d06d6bSBaptiste DaroussinIndent the display by the
84461d06d6bSBaptiste Daroussin.Ar width ,
84561d06d6bSBaptiste Daroussinwhich may be one of the following:
84661d06d6bSBaptiste Daroussin.Bl -item
84761d06d6bSBaptiste Daroussin.It
84861d06d6bSBaptiste DaroussinOne of the pre-defined strings
84961d06d6bSBaptiste Daroussin.Cm indent ,
85061d06d6bSBaptiste Daroussinthe width of a standard indentation (six constant width characters);
85161d06d6bSBaptiste Daroussin.Cm indent-two ,
85261d06d6bSBaptiste Daroussintwice
85361d06d6bSBaptiste Daroussin.Cm indent ;
85461d06d6bSBaptiste Daroussin.Cm left ,
85561d06d6bSBaptiste Daroussinwhich has no effect;
85661d06d6bSBaptiste Daroussin.Cm right ,
85761d06d6bSBaptiste Daroussinwhich justifies to the right margin; or
85861d06d6bSBaptiste Daroussin.Cm center ,
85961d06d6bSBaptiste Daroussinwhich aligns around an imagined center axis.
86061d06d6bSBaptiste Daroussin.It
86161d06d6bSBaptiste DaroussinA macro invocation, which selects a predefined width
86261d06d6bSBaptiste Daroussinassociated with that macro.
86361d06d6bSBaptiste DaroussinThe most popular is the imaginary macro
86461d06d6bSBaptiste Daroussin.Ar \&Ds ,
86561d06d6bSBaptiste Daroussinwhich resolves to
86661d06d6bSBaptiste Daroussin.Sy 6n .
86761d06d6bSBaptiste Daroussin.It
86861d06d6bSBaptiste DaroussinA scaling width as described in
86961d06d6bSBaptiste Daroussin.Xr roff 7 .
87061d06d6bSBaptiste Daroussin.It
87161d06d6bSBaptiste DaroussinAn arbitrary string, which indents by the length of this string.
87261d06d6bSBaptiste Daroussin.El
87361d06d6bSBaptiste Daroussin.Pp
87461d06d6bSBaptiste DaroussinWhen the argument is missing,
87561d06d6bSBaptiste Daroussin.Fl offset
87661d06d6bSBaptiste Daroussinis ignored.
87761d06d6bSBaptiste Daroussin.It Fl compact
87861d06d6bSBaptiste DaroussinDo not assert vertical space before the display.
87961d06d6bSBaptiste Daroussin.El
88061d06d6bSBaptiste Daroussin.Pp
88161d06d6bSBaptiste DaroussinExamples:
88261d06d6bSBaptiste Daroussin.Bd -literal -offset indent
88361d06d6bSBaptiste Daroussin\&.Bd \-literal \-offset indent \-compact
88461d06d6bSBaptiste Daroussin   Hello       world.
88561d06d6bSBaptiste Daroussin\&.Ed
88661d06d6bSBaptiste Daroussin.Ed
88761d06d6bSBaptiste Daroussin.Pp
88861d06d6bSBaptiste DaroussinSee also
8897295610fSBaptiste Daroussin.Ic \&D1
89061d06d6bSBaptiste Daroussinand
8917295610fSBaptiste Daroussin.Ic \&Dl .
8926d38604fSBaptiste Daroussin.Tg Bf
8937295610fSBaptiste Daroussin.It Ic \&Bf Fl emphasis | literal | symbolic | Cm \&Em | \&Li | \&Sy
89461d06d6bSBaptiste DaroussinChange the font mode for a scoped block of text.
89561d06d6bSBaptiste DaroussinThe
89661d06d6bSBaptiste Daroussin.Fl emphasis
89761d06d6bSBaptiste Daroussinand
89861d06d6bSBaptiste Daroussin.Cm \&Em
89961d06d6bSBaptiste Daroussinargument are equivalent, as are
90061d06d6bSBaptiste Daroussin.Fl symbolic
90161d06d6bSBaptiste Daroussinand
90261d06d6bSBaptiste Daroussin.Cm \&Sy ,
90361d06d6bSBaptiste Daroussinand
90461d06d6bSBaptiste Daroussin.Fl literal
90561d06d6bSBaptiste Daroussinand
90661d06d6bSBaptiste Daroussin.Cm \&Li .
90761d06d6bSBaptiste DaroussinWithout an argument, this macro does nothing.
90861d06d6bSBaptiste DaroussinThe font mode continues until broken by a new font mode in a nested
90961d06d6bSBaptiste Daroussinscope or
9107295610fSBaptiste Daroussin.Ic \&Ef
91161d06d6bSBaptiste Daroussinis encountered.
91261d06d6bSBaptiste Daroussin.Pp
91361d06d6bSBaptiste DaroussinSee also
9147295610fSBaptiste Daroussin.Ic \&Li ,
9157295610fSBaptiste Daroussin.Ic \&Ef ,
9167295610fSBaptiste Daroussin.Ic \&Em ,
91761d06d6bSBaptiste Daroussinand
9187295610fSBaptiste Daroussin.Ic \&Sy .
9196d38604fSBaptiste Daroussin.Tg Bk
9207295610fSBaptiste Daroussin.It Ic \&Bk Fl words
92161d06d6bSBaptiste DaroussinFor each macro, keep its output together on the same output line,
92261d06d6bSBaptiste Daroussinuntil the end of the macro or the end of the input line is reached,
92361d06d6bSBaptiste Daroussinwhichever comes first.
92461d06d6bSBaptiste DaroussinLine breaks in text lines are unaffected.
92561d06d6bSBaptiste Daroussin.Pp
92661d06d6bSBaptiste DaroussinThe
92761d06d6bSBaptiste Daroussin.Fl words
92861d06d6bSBaptiste Daroussinargument is required; additional arguments are ignored.
92961d06d6bSBaptiste Daroussin.Pp
93061d06d6bSBaptiste DaroussinThe following example will not break within each
9317295610fSBaptiste Daroussin.Ic \&Op
93261d06d6bSBaptiste Daroussinmacro line:
93361d06d6bSBaptiste Daroussin.Bd -literal -offset indent
93461d06d6bSBaptiste Daroussin\&.Bk \-words
93561d06d6bSBaptiste Daroussin\&.Op Fl f Ar flags
93661d06d6bSBaptiste Daroussin\&.Op Fl o Ar output
93761d06d6bSBaptiste Daroussin\&.Ek
93861d06d6bSBaptiste Daroussin.Ed
93961d06d6bSBaptiste Daroussin.Pp
94061d06d6bSBaptiste DaroussinBe careful in using over-long lines within a keep block!
94161d06d6bSBaptiste DaroussinDoing so will clobber the right margin.
9426d38604fSBaptiste Daroussin.Tg Bl
9437295610fSBaptiste Daroussin.It Xo
9447295610fSBaptiste Daroussin.Ic \&Bl
94561d06d6bSBaptiste Daroussin.Fl Ns Ar type
94661d06d6bSBaptiste Daroussin.Op Fl width Ar val
94761d06d6bSBaptiste Daroussin.Op Fl offset Ar val
94861d06d6bSBaptiste Daroussin.Op Fl compact
9497295610fSBaptiste Daroussin.Op Ar col ...
9507295610fSBaptiste Daroussin.Xc
9517295610fSBaptiste DaroussinBegin a list.
9527295610fSBaptiste DaroussinLists consist of items specified using the
9537295610fSBaptiste Daroussin.Ic \&It
9547295610fSBaptiste Daroussinmacro, containing a head or a body or both.
95561d06d6bSBaptiste Daroussin.Pp
95661d06d6bSBaptiste DaroussinThe list
95761d06d6bSBaptiste Daroussin.Ar type
95861d06d6bSBaptiste Daroussinis mandatory and must be specified first.
95961d06d6bSBaptiste DaroussinThe
96061d06d6bSBaptiste Daroussin.Fl width
96161d06d6bSBaptiste Daroussinand
96261d06d6bSBaptiste Daroussin.Fl offset
96361d06d6bSBaptiste Daroussinarguments accept macro names as described for
9647295610fSBaptiste Daroussin.Ic \&Bd
96561d06d6bSBaptiste Daroussin.Fl offset ,
96661d06d6bSBaptiste Daroussinscaling widths as described in
96761d06d6bSBaptiste Daroussin.Xr roff 7 ,
96861d06d6bSBaptiste Daroussinor use the length of the given string.
96961d06d6bSBaptiste DaroussinThe
97061d06d6bSBaptiste Daroussin.Fl offset
97161d06d6bSBaptiste Daroussinis a global indentation for the whole list, affecting both item heads
97261d06d6bSBaptiste Daroussinand bodies.
97361d06d6bSBaptiste DaroussinFor those list types supporting it, the
97461d06d6bSBaptiste Daroussin.Fl width
97561d06d6bSBaptiste Daroussinargument requests an additional indentation of item bodies,
97661d06d6bSBaptiste Daroussinto be added to the
97761d06d6bSBaptiste Daroussin.Fl offset .
97861d06d6bSBaptiste DaroussinUnless the
97961d06d6bSBaptiste Daroussin.Fl compact
98061d06d6bSBaptiste Daroussinargument is specified, list entries are separated by vertical space.
98161d06d6bSBaptiste Daroussin.Pp
98261d06d6bSBaptiste DaroussinA list must specify one of the following list types:
98361d06d6bSBaptiste Daroussin.Bl -tag -width 12n -offset indent
98461d06d6bSBaptiste Daroussin.It Fl bullet
98561d06d6bSBaptiste DaroussinNo item heads can be specified, but a bullet will be printed at the head
98661d06d6bSBaptiste Daroussinof each item.
98761d06d6bSBaptiste DaroussinItem bodies start on the same output line as the bullet
98861d06d6bSBaptiste Daroussinand are indented according to the
98961d06d6bSBaptiste Daroussin.Fl width
99061d06d6bSBaptiste Daroussinargument.
99161d06d6bSBaptiste Daroussin.It Fl column
99261d06d6bSBaptiste DaroussinA columnated list.
99361d06d6bSBaptiste DaroussinThe
99461d06d6bSBaptiste Daroussin.Fl width
99561d06d6bSBaptiste Daroussinargument has no effect; instead, the string length of each argument
99661d06d6bSBaptiste Daroussinspecifies the width of one column.
99761d06d6bSBaptiste DaroussinIf the first line of the body of a
99861d06d6bSBaptiste Daroussin.Fl column
99961d06d6bSBaptiste Daroussinlist is not an
10007295610fSBaptiste Daroussin.Ic \&It
100161d06d6bSBaptiste Daroussinmacro line,
10027295610fSBaptiste Daroussin.Ic \&It
100361d06d6bSBaptiste Daroussincontexts spanning one input line each are implied until an
10047295610fSBaptiste Daroussin.Ic \&It
100561d06d6bSBaptiste Daroussinmacro line is encountered, at which point items start being interpreted as
100661d06d6bSBaptiste Daroussindescribed in the
10077295610fSBaptiste Daroussin.Ic \&It
100861d06d6bSBaptiste Daroussindocumentation.
100961d06d6bSBaptiste Daroussin.It Fl dash
101061d06d6bSBaptiste DaroussinLike
101161d06d6bSBaptiste Daroussin.Fl bullet ,
101261d06d6bSBaptiste Daroussinexcept that dashes are used in place of bullets.
101361d06d6bSBaptiste Daroussin.It Fl diag
101461d06d6bSBaptiste DaroussinLike
101561d06d6bSBaptiste Daroussin.Fl inset ,
101661d06d6bSBaptiste Daroussinexcept that item heads are not parsed for macro invocations.
101761d06d6bSBaptiste DaroussinMost often used in the
101861d06d6bSBaptiste Daroussin.Em DIAGNOSTICS
101961d06d6bSBaptiste Daroussinsection with error constants in the item heads.
102061d06d6bSBaptiste Daroussin.It Fl enum
102161d06d6bSBaptiste DaroussinA numbered list.
102261d06d6bSBaptiste DaroussinNo item heads can be specified.
102361d06d6bSBaptiste DaroussinFormatted like
102461d06d6bSBaptiste Daroussin.Fl bullet ,
1025c1c95addSBrooks Davisexcept that ordinal numbers are used in place of bullets,
102661d06d6bSBaptiste Daroussinstarting at 1.
102761d06d6bSBaptiste Daroussin.It Fl hang
102861d06d6bSBaptiste DaroussinLike
102961d06d6bSBaptiste Daroussin.Fl tag ,
103061d06d6bSBaptiste Daroussinexcept that the first lines of item bodies are not indented, but follow
103161d06d6bSBaptiste Daroussinthe item heads like in
103261d06d6bSBaptiste Daroussin.Fl inset
103361d06d6bSBaptiste Daroussinlists.
103461d06d6bSBaptiste Daroussin.It Fl hyphen
103561d06d6bSBaptiste DaroussinSynonym for
103661d06d6bSBaptiste Daroussin.Fl dash .
103761d06d6bSBaptiste Daroussin.It Fl inset
103861d06d6bSBaptiste DaroussinItem bodies follow items heads on the same line, using normal inter-word
103961d06d6bSBaptiste Daroussinspacing.
104061d06d6bSBaptiste DaroussinBodies are not indented, and the
104161d06d6bSBaptiste Daroussin.Fl width
104261d06d6bSBaptiste Daroussinargument is ignored.
104361d06d6bSBaptiste Daroussin.It Fl item
104461d06d6bSBaptiste DaroussinNo item heads can be specified, and none are printed.
104561d06d6bSBaptiste DaroussinBodies are not indented, and the
104661d06d6bSBaptiste Daroussin.Fl width
104761d06d6bSBaptiste Daroussinargument is ignored.
104861d06d6bSBaptiste Daroussin.It Fl ohang
104961d06d6bSBaptiste DaroussinItem bodies start on the line following item heads and are not indented.
105061d06d6bSBaptiste DaroussinThe
105161d06d6bSBaptiste Daroussin.Fl width
105261d06d6bSBaptiste Daroussinargument is ignored.
105361d06d6bSBaptiste Daroussin.It Fl tag
105461d06d6bSBaptiste DaroussinItem bodies are indented according to the
105561d06d6bSBaptiste Daroussin.Fl width
105661d06d6bSBaptiste Daroussinargument.
105761d06d6bSBaptiste DaroussinWhen an item head fits inside the indentation, the item body follows
105861d06d6bSBaptiste Daroussinthis head on the same output line.
105961d06d6bSBaptiste DaroussinOtherwise, the body starts on the output line following the head.
106061d06d6bSBaptiste Daroussin.El
106161d06d6bSBaptiste Daroussin.Pp
106261d06d6bSBaptiste DaroussinLists may be nested within lists and displays.
106361d06d6bSBaptiste DaroussinNesting of
106461d06d6bSBaptiste Daroussin.Fl column
106561d06d6bSBaptiste Daroussinand
106661d06d6bSBaptiste Daroussin.Fl enum
106761d06d6bSBaptiste Daroussinlists may not be portable.
106861d06d6bSBaptiste Daroussin.Pp
106961d06d6bSBaptiste DaroussinSee also
10707295610fSBaptiste Daroussin.Ic \&El
107161d06d6bSBaptiste Daroussinand
10727295610fSBaptiste Daroussin.Ic \&It .
10737295610fSBaptiste Daroussin.It Ic \&Bo Ar block
107461d06d6bSBaptiste DaroussinBegin a block enclosed by square brackets.
107561d06d6bSBaptiste DaroussinDoes not have any head arguments.
107661d06d6bSBaptiste Daroussin.Pp
107761d06d6bSBaptiste DaroussinExamples:
107861d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
107961d06d6bSBaptiste Daroussin\&.Bo 1 ,
108061d06d6bSBaptiste Daroussin\&.Dv BUFSIZ \&Bc
108161d06d6bSBaptiste Daroussin.Ed
108261d06d6bSBaptiste Daroussin.Pp
108361d06d6bSBaptiste DaroussinSee also
10847295610fSBaptiste Daroussin.Ic \&Bq .
10856d38604fSBaptiste Daroussin.Tg Bq
10867295610fSBaptiste Daroussin.It Ic \&Bq Ar line
108761d06d6bSBaptiste DaroussinEncloses its arguments in square brackets.
108861d06d6bSBaptiste Daroussin.Pp
108961d06d6bSBaptiste DaroussinExamples:
109061d06d6bSBaptiste Daroussin.Dl \&.Bq 1 , \&Dv BUFSIZ
109161d06d6bSBaptiste Daroussin.Pp
109261d06d6bSBaptiste Daroussin.Em Remarks :
109361d06d6bSBaptiste Daroussinthis macro is sometimes abused to emulate optional arguments for
109461d06d6bSBaptiste Daroussincommands; the correct macros to use for this purpose are
10957295610fSBaptiste Daroussin.Ic \&Op ,
10967295610fSBaptiste Daroussin.Ic \&Oo ,
109761d06d6bSBaptiste Daroussinand
10987295610fSBaptiste Daroussin.Ic \&Oc .
109961d06d6bSBaptiste Daroussin.Pp
110061d06d6bSBaptiste DaroussinSee also
11017295610fSBaptiste Daroussin.Ic \&Bo .
11027295610fSBaptiste Daroussin.It Ic \&Brc
110361d06d6bSBaptiste DaroussinClose a
11047295610fSBaptiste Daroussin.Ic \&Bro
110561d06d6bSBaptiste Daroussinblock.
110661d06d6bSBaptiste DaroussinDoes not have any tail arguments.
11077295610fSBaptiste Daroussin.It Ic \&Bro Ar block
110861d06d6bSBaptiste DaroussinBegin a block enclosed by curly braces.
110961d06d6bSBaptiste DaroussinDoes not have any head arguments.
111061d06d6bSBaptiste Daroussin.Pp
111161d06d6bSBaptiste DaroussinExamples:
111261d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
111361d06d6bSBaptiste Daroussin\&.Bro 1 , ... ,
111461d06d6bSBaptiste Daroussin\&.Va n \&Brc
111561d06d6bSBaptiste Daroussin.Ed
111661d06d6bSBaptiste Daroussin.Pp
111761d06d6bSBaptiste DaroussinSee also
11187295610fSBaptiste Daroussin.Ic \&Brq .
11196d38604fSBaptiste Daroussin.Tg Brq
11207295610fSBaptiste Daroussin.It Ic \&Brq Ar line
112161d06d6bSBaptiste DaroussinEncloses its arguments in curly braces.
112261d06d6bSBaptiste Daroussin.Pp
112361d06d6bSBaptiste DaroussinExamples:
112461d06d6bSBaptiste Daroussin.Dl \&.Brq 1 , ... , \&Va n
112561d06d6bSBaptiste Daroussin.Pp
112661d06d6bSBaptiste DaroussinSee also
11277295610fSBaptiste Daroussin.Ic \&Bro .
11286d38604fSBaptiste Daroussin.Tg Bsx
11297295610fSBaptiste Daroussin.It Ic \&Bsx Op Ar version
113061d06d6bSBaptiste DaroussinFormat the
113161d06d6bSBaptiste Daroussin.Bsx
113261d06d6bSBaptiste Daroussinversion provided as an argument, or a default value if
113361d06d6bSBaptiste Daroussinno argument is provided.
113461d06d6bSBaptiste Daroussin.Pp
113561d06d6bSBaptiste DaroussinExamples:
113661d06d6bSBaptiste Daroussin.Dl \&.Bsx 1.0
113761d06d6bSBaptiste Daroussin.Dl \&.Bsx
113861d06d6bSBaptiste Daroussin.Pp
113961d06d6bSBaptiste DaroussinSee also
11407295610fSBaptiste Daroussin.Ic \&At ,
11417295610fSBaptiste Daroussin.Ic \&Bx ,
11427295610fSBaptiste Daroussin.Ic \&Dx ,
11437295610fSBaptiste Daroussin.Ic \&Fx ,
11447295610fSBaptiste Daroussin.Ic \&Nx ,
114561d06d6bSBaptiste Daroussinand
11467295610fSBaptiste Daroussin.Ic \&Ox .
11477295610fSBaptiste Daroussin.It Ic \&Bt
114861d06d6bSBaptiste DaroussinSupported only for compatibility, do not use this in new manuals.
114961d06d6bSBaptiste DaroussinPrints
115061d06d6bSBaptiste Daroussin.Dq is currently in beta test.
11516d38604fSBaptiste Daroussin.Tg Bx
11527295610fSBaptiste Daroussin.It Ic \&Bx Op Ar version Op Ar variant
115361d06d6bSBaptiste DaroussinFormat the
115461d06d6bSBaptiste Daroussin.Bx
115561d06d6bSBaptiste Daroussinversion provided as an argument, or a default value if no
115661d06d6bSBaptiste Daroussinargument is provided.
115761d06d6bSBaptiste Daroussin.Pp
115861d06d6bSBaptiste DaroussinExamples:
115961d06d6bSBaptiste Daroussin.Dl \&.Bx 4.3 Tahoe
116061d06d6bSBaptiste Daroussin.Dl \&.Bx 4.4
116161d06d6bSBaptiste Daroussin.Dl \&.Bx
116261d06d6bSBaptiste Daroussin.Pp
116361d06d6bSBaptiste DaroussinSee also
11647295610fSBaptiste Daroussin.Ic \&At ,
11657295610fSBaptiste Daroussin.Ic \&Bsx ,
11667295610fSBaptiste Daroussin.Ic \&Dx ,
11677295610fSBaptiste Daroussin.Ic \&Fx ,
11687295610fSBaptiste Daroussin.Ic \&Nx ,
116961d06d6bSBaptiste Daroussinand
11707295610fSBaptiste Daroussin.Ic \&Ox .
11716d38604fSBaptiste Daroussin.Tg Cd
11727295610fSBaptiste Daroussin.It Ic \&Cd Ar line
117361d06d6bSBaptiste DaroussinKernel configuration declaration.
117461d06d6bSBaptiste DaroussinThis denotes strings accepted by
117561d06d6bSBaptiste Daroussin.Xr config 8 .
117661d06d6bSBaptiste DaroussinIt is most often used in section 4 manual pages.
117761d06d6bSBaptiste Daroussin.Pp
117861d06d6bSBaptiste DaroussinExamples:
117961d06d6bSBaptiste Daroussin.Dl \&.Cd device le0 at scode?
118061d06d6bSBaptiste Daroussin.Pp
118161d06d6bSBaptiste Daroussin.Em Remarks :
118261d06d6bSBaptiste Daroussinthis macro is commonly abused by using quoted literals to retain
118361d06d6bSBaptiste Daroussinwhitespace and align consecutive
11847295610fSBaptiste Daroussin.Ic \&Cd
118561d06d6bSBaptiste Daroussindeclarations.
118661d06d6bSBaptiste DaroussinThis practise is discouraged.
11876d38604fSBaptiste Daroussin.Tg Cm
11887295610fSBaptiste Daroussin.It Ic \&Cm Ar keyword ...
118961d06d6bSBaptiste DaroussinCommand modifiers.
119045a5aec3SBaptiste DaroussinTypically used for fixed strings passed as arguments to interactive
119145a5aec3SBaptiste Daroussincommands, to commands in interpreted scripts, or to configuration
119245a5aec3SBaptiste Daroussinfile directives, unless
11937295610fSBaptiste Daroussin.Ic \&Fl
119461d06d6bSBaptiste Daroussinis more appropriate.
119561d06d6bSBaptiste Daroussin.Pp
119661d06d6bSBaptiste DaroussinExamples:
119761d06d6bSBaptiste Daroussin.Dl ".Nm mt Fl f Ar device Cm rewind"
119861d06d6bSBaptiste Daroussin.Dl ".Nm ps Fl o Cm pid , Ns Cm command"
119961d06d6bSBaptiste Daroussin.Dl ".Nm dd Cm if= Ns Ar file1 Cm of= Ns Ar file2"
120045a5aec3SBaptiste Daroussin.Dl ".Ic set Fl o Cm vi"
120145a5aec3SBaptiste Daroussin.Dl ".Ic lookup Cm file bind"
120245a5aec3SBaptiste Daroussin.Dl ".Ic permit Ar identity Op Cm as Ar target"
12036d38604fSBaptiste Daroussin.Tg D1
12047295610fSBaptiste Daroussin.It Ic \&D1 Ar line
120561d06d6bSBaptiste DaroussinOne-line indented display.
120661d06d6bSBaptiste DaroussinThis is formatted by the default rules and is useful for simple indented
120761d06d6bSBaptiste Daroussinstatements.
120861d06d6bSBaptiste DaroussinIt is followed by a newline.
120961d06d6bSBaptiste Daroussin.Pp
121061d06d6bSBaptiste DaroussinExamples:
121161d06d6bSBaptiste Daroussin.Dl \&.D1 \&Fl abcdefgh
121261d06d6bSBaptiste Daroussin.Pp
121361d06d6bSBaptiste DaroussinSee also
12147295610fSBaptiste Daroussin.Ic \&Bd
121561d06d6bSBaptiste Daroussinand
12167295610fSBaptiste Daroussin.Ic \&Dl .
12177295610fSBaptiste Daroussin.It Ic \&Db
121861d06d6bSBaptiste DaroussinThis macro is obsolete.
121961d06d6bSBaptiste DaroussinNo replacement is needed.
122061d06d6bSBaptiste DaroussinIt is ignored by
122161d06d6bSBaptiste Daroussin.Xr mandoc 1
122261d06d6bSBaptiste Daroussinand groff including its arguments.
122361d06d6bSBaptiste DaroussinIt was formerly used to toggle a debugging mode.
12247295610fSBaptiste Daroussin.It Ic \&Dc
122561d06d6bSBaptiste DaroussinClose a
12267295610fSBaptiste Daroussin.Ic \&Do
122761d06d6bSBaptiste Daroussinblock.
122861d06d6bSBaptiste DaroussinDoes not have any tail arguments.
12296d38604fSBaptiste Daroussin.Tg Dd
12307295610fSBaptiste Daroussin.It Ic \&Dd Cm $\&Mdocdate$ | Ar month day , year
12316d38604fSBaptiste DaroussinDocument date for display in the page footer,
12326d38604fSBaptiste Daroussinby convention the date of the last change.
123361d06d6bSBaptiste DaroussinThis is the mandatory first macro of any
123461d06d6bSBaptiste Daroussin.Nm
123561d06d6bSBaptiste Daroussinmanual.
123661d06d6bSBaptiste Daroussin.Pp
123761d06d6bSBaptiste DaroussinThe
123861d06d6bSBaptiste Daroussin.Ar month
123961d06d6bSBaptiste Daroussinis the full English month name, the
124061d06d6bSBaptiste Daroussin.Ar day
124161d06d6bSBaptiste Daroussinis an integer number, and the
124261d06d6bSBaptiste Daroussin.Ar year
124361d06d6bSBaptiste Daroussinis the full four-digit year.
124461d06d6bSBaptiste Daroussin.Pp
124561d06d6bSBaptiste DaroussinOther arguments are not portable; the
124661d06d6bSBaptiste Daroussin.Xr mandoc 1
124761d06d6bSBaptiste Daroussinutility handles them as follows:
124861d06d6bSBaptiste Daroussin.Bl -dash -offset 3n -compact
124961d06d6bSBaptiste Daroussin.It
125061d06d6bSBaptiste DaroussinTo have the date automatically filled in by the
125161d06d6bSBaptiste Daroussin.Ox
125261d06d6bSBaptiste Daroussinversion of
125361d06d6bSBaptiste Daroussin.Xr cvs 1 ,
125461d06d6bSBaptiste Daroussinthe special string
125561d06d6bSBaptiste Daroussin.Dq $\&Mdocdate$
125661d06d6bSBaptiste Daroussincan be given as an argument.
125761d06d6bSBaptiste Daroussin.It
125861d06d6bSBaptiste DaroussinThe traditional, purely numeric
125961d06d6bSBaptiste Daroussin.Xr man 7
126061d06d6bSBaptiste Daroussinformat
126161d06d6bSBaptiste Daroussin.Ar year Ns \(en Ns Ar month Ns \(en Ns Ar day
126261d06d6bSBaptiste Daroussinis accepted, too.
126361d06d6bSBaptiste Daroussin.It
126461d06d6bSBaptiste DaroussinIf a date string cannot be parsed, it is used verbatim.
126561d06d6bSBaptiste Daroussin.It
126661d06d6bSBaptiste DaroussinIf no date string is given, the current date is used.
126761d06d6bSBaptiste Daroussin.El
126861d06d6bSBaptiste Daroussin.Pp
126961d06d6bSBaptiste DaroussinExamples:
127061d06d6bSBaptiste Daroussin.Dl \&.Dd $\&Mdocdate$
127161d06d6bSBaptiste Daroussin.Dl \&.Dd $\&Mdocdate: July 2 2018$
127261d06d6bSBaptiste Daroussin.Dl \&.Dd July 2, 2018
127361d06d6bSBaptiste Daroussin.Pp
127461d06d6bSBaptiste DaroussinSee also
12757295610fSBaptiste Daroussin.Ic \&Dt
127661d06d6bSBaptiste Daroussinand
12777295610fSBaptiste Daroussin.Ic \&Os .
12786d38604fSBaptiste Daroussin.Tg Dl
12797295610fSBaptiste Daroussin.It Ic \&Dl Ar line
128061d06d6bSBaptiste DaroussinOne-line indented display.
128161d06d6bSBaptiste DaroussinThis is formatted as literal text and is useful for commands and
128261d06d6bSBaptiste Daroussininvocations.
128361d06d6bSBaptiste DaroussinIt is followed by a newline.
128461d06d6bSBaptiste Daroussin.Pp
128561d06d6bSBaptiste DaroussinExamples:
128661d06d6bSBaptiste Daroussin.Dl \&.Dl % mandoc mdoc.7 \e(ba less
128761d06d6bSBaptiste Daroussin.Pp
128861d06d6bSBaptiste DaroussinSee also
12897295610fSBaptiste Daroussin.Ic \&Ql ,
12907295610fSBaptiste Daroussin.Ic \&Bd Fl literal ,
129161d06d6bSBaptiste Daroussinand
12927295610fSBaptiste Daroussin.Ic \&D1 .
12937295610fSBaptiste Daroussin.It Ic \&Do Ar block
129461d06d6bSBaptiste DaroussinBegin a block enclosed by double quotes.
129561d06d6bSBaptiste DaroussinDoes not have any head arguments.
129661d06d6bSBaptiste Daroussin.Pp
129761d06d6bSBaptiste DaroussinExamples:
129861d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
129961d06d6bSBaptiste Daroussin\&.Do
130061d06d6bSBaptiste DaroussinApril is the cruellest month
130161d06d6bSBaptiste Daroussin\&.Dc
130261d06d6bSBaptiste Daroussin\e(em T.S. Eliot
130361d06d6bSBaptiste Daroussin.Ed
130461d06d6bSBaptiste Daroussin.Pp
130561d06d6bSBaptiste DaroussinSee also
13067295610fSBaptiste Daroussin.Ic \&Dq .
13076d38604fSBaptiste Daroussin.Tg Dq
13087295610fSBaptiste Daroussin.It Ic \&Dq Ar line
130961d06d6bSBaptiste DaroussinEncloses its arguments in
131061d06d6bSBaptiste Daroussin.Dq typographic
131161d06d6bSBaptiste Daroussindouble-quotes.
131261d06d6bSBaptiste Daroussin.Pp
131361d06d6bSBaptiste DaroussinExamples:
131461d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
131561d06d6bSBaptiste Daroussin\&.Dq April is the cruellest month
131661d06d6bSBaptiste Daroussin\e(em T.S. Eliot
131761d06d6bSBaptiste Daroussin.Ed
131861d06d6bSBaptiste Daroussin.Pp
131961d06d6bSBaptiste DaroussinSee also
13207295610fSBaptiste Daroussin.Ic \&Qq ,
13217295610fSBaptiste Daroussin.Ic \&Sq ,
132261d06d6bSBaptiste Daroussinand
13237295610fSBaptiste Daroussin.Ic \&Do .
13246d38604fSBaptiste Daroussin.Tg Dt
13257295610fSBaptiste Daroussin.It Ic \&Dt Ar TITLE section Op Ar arch
132661d06d6bSBaptiste DaroussinDocument title for display in the page header.
132761d06d6bSBaptiste DaroussinThis is the mandatory second macro of any
132861d06d6bSBaptiste Daroussin.Nm
132961d06d6bSBaptiste Daroussinfile.
133061d06d6bSBaptiste Daroussin.Pp
133161d06d6bSBaptiste DaroussinIts arguments are as follows:
133261d06d6bSBaptiste Daroussin.Bl -tag -width section -offset 2n
133361d06d6bSBaptiste Daroussin.It Ar TITLE
133461d06d6bSBaptiste DaroussinThe document's title (name), defaulting to
133561d06d6bSBaptiste Daroussin.Dq UNTITLED
133661d06d6bSBaptiste Daroussinif unspecified.
133761d06d6bSBaptiste DaroussinTo achieve a uniform appearance of page header lines,
133861d06d6bSBaptiste Daroussinit should by convention be all caps.
133961d06d6bSBaptiste Daroussin.It Ar section
134061d06d6bSBaptiste DaroussinThe manual section.
134161d06d6bSBaptiste DaroussinThis may be one of
134261d06d6bSBaptiste Daroussin.Cm 1
134361d06d6bSBaptiste Daroussin.Pq General Commands ,
134461d06d6bSBaptiste Daroussin.Cm 2
134561d06d6bSBaptiste Daroussin.Pq System Calls ,
134661d06d6bSBaptiste Daroussin.Cm 3
134761d06d6bSBaptiste Daroussin.Pq Library Functions ,
134861d06d6bSBaptiste Daroussin.Cm 3p
134961d06d6bSBaptiste Daroussin.Pq Perl Library ,
135061d06d6bSBaptiste Daroussin.Cm 4
135161d06d6bSBaptiste Daroussin.Pq Device Drivers ,
135261d06d6bSBaptiste Daroussin.Cm 5
135361d06d6bSBaptiste Daroussin.Pq File Formats ,
135461d06d6bSBaptiste Daroussin.Cm 6
135561d06d6bSBaptiste Daroussin.Pq Games ,
135661d06d6bSBaptiste Daroussin.Cm 7
135761d06d6bSBaptiste Daroussin.Pq Miscellaneous Information ,
135861d06d6bSBaptiste Daroussin.Cm 8
135961d06d6bSBaptiste Daroussin.Pq System Manager's Manual ,
136061d06d6bSBaptiste Daroussinor
136161d06d6bSBaptiste Daroussin.Cm 9
136261d06d6bSBaptiste Daroussin.Pq Kernel Developer's Manual .
136361d06d6bSBaptiste DaroussinIt should correspond to the manual's filename suffix and defaults to
136461d06d6bSBaptiste Daroussinthe empty string if unspecified.
136561d06d6bSBaptiste Daroussin.It Ar arch
136661d06d6bSBaptiste DaroussinThis specifies the machine architecture a manual page applies to,
136761d06d6bSBaptiste Daroussinwhere relevant, for example
136861d06d6bSBaptiste Daroussin.Cm alpha ,
136961d06d6bSBaptiste Daroussin.Cm amd64 ,
137061d06d6bSBaptiste Daroussin.Cm i386 ,
137161d06d6bSBaptiste Daroussinor
137261d06d6bSBaptiste Daroussin.Cm sparc64 .
137361d06d6bSBaptiste DaroussinThe list of valid architectures varies by operating system.
137461d06d6bSBaptiste Daroussin.El
137561d06d6bSBaptiste Daroussin.Pp
137661d06d6bSBaptiste DaroussinExamples:
137761d06d6bSBaptiste Daroussin.Dl \&.Dt FOO 1
137861d06d6bSBaptiste Daroussin.Dl \&.Dt FOO 9 i386
137961d06d6bSBaptiste Daroussin.Pp
138061d06d6bSBaptiste DaroussinSee also
13817295610fSBaptiste Daroussin.Ic \&Dd
138261d06d6bSBaptiste Daroussinand
13837295610fSBaptiste Daroussin.Ic \&Os .
13846d38604fSBaptiste Daroussin.Tg Dv
13857295610fSBaptiste Daroussin.It Ic \&Dv Ar identifier ...
138661d06d6bSBaptiste DaroussinDefined variables such as preprocessor constants, constant symbols,
138761d06d6bSBaptiste Daroussinenumeration values, and so on.
138861d06d6bSBaptiste Daroussin.Pp
138961d06d6bSBaptiste DaroussinExamples:
139061d06d6bSBaptiste Daroussin.Dl \&.Dv NULL
139161d06d6bSBaptiste Daroussin.Dl \&.Dv BUFSIZ
139261d06d6bSBaptiste Daroussin.Dl \&.Dv STDOUT_FILENO
139361d06d6bSBaptiste Daroussin.Pp
139461d06d6bSBaptiste DaroussinSee also
13957295610fSBaptiste Daroussin.Ic \&Er
139661d06d6bSBaptiste Daroussinand
13977295610fSBaptiste Daroussin.Ic \&Ev
139861d06d6bSBaptiste Daroussinfor special-purpose constants,
13997295610fSBaptiste Daroussin.Ic \&Va
140061d06d6bSBaptiste Daroussinfor variable symbols, and
14017295610fSBaptiste Daroussin.Ic \&Fd
140261d06d6bSBaptiste Daroussinfor listing preprocessor variable definitions in the
140361d06d6bSBaptiste Daroussin.Em SYNOPSIS .
14046d38604fSBaptiste Daroussin.Tg Dx
14057295610fSBaptiste Daroussin.It Ic \&Dx Op Ar version
140661d06d6bSBaptiste DaroussinFormat the
140761d06d6bSBaptiste Daroussin.Dx
140861d06d6bSBaptiste Daroussinversion provided as an argument, or a default
140961d06d6bSBaptiste Daroussinvalue if no argument is provided.
141061d06d6bSBaptiste Daroussin.Pp
141161d06d6bSBaptiste DaroussinExamples:
141261d06d6bSBaptiste Daroussin.Dl \&.Dx 2.4.1
141361d06d6bSBaptiste Daroussin.Dl \&.Dx
141461d06d6bSBaptiste Daroussin.Pp
141561d06d6bSBaptiste DaroussinSee also
14167295610fSBaptiste Daroussin.Ic \&At ,
14177295610fSBaptiste Daroussin.Ic \&Bsx ,
14187295610fSBaptiste Daroussin.Ic \&Bx ,
14197295610fSBaptiste Daroussin.Ic \&Fx ,
14207295610fSBaptiste Daroussin.Ic \&Nx ,
142161d06d6bSBaptiste Daroussinand
14227295610fSBaptiste Daroussin.Ic \&Ox .
14237295610fSBaptiste Daroussin.It Ic \&Ec Op Ar closing_delimiter
142461d06d6bSBaptiste DaroussinClose a scope started by
14257295610fSBaptiste Daroussin.Ic \&Eo .
142661d06d6bSBaptiste Daroussin.Pp
142761d06d6bSBaptiste DaroussinThe
14287295610fSBaptiste Daroussin.Ar closing_delimiter
142961d06d6bSBaptiste Daroussinargument is used as the enclosure tail, for example, specifying \e(rq
143061d06d6bSBaptiste Daroussinwill emulate
14317295610fSBaptiste Daroussin.Ic \&Dc .
14327295610fSBaptiste Daroussin.It Ic \&Ed
143361d06d6bSBaptiste DaroussinEnd a display context started by
14347295610fSBaptiste Daroussin.Ic \&Bd .
14357295610fSBaptiste Daroussin.It Ic \&Ef
143661d06d6bSBaptiste DaroussinEnd a font mode context started by
14377295610fSBaptiste Daroussin.Ic \&Bf .
14387295610fSBaptiste Daroussin.It Ic \&Ek
143961d06d6bSBaptiste DaroussinEnd a keep context started by
14407295610fSBaptiste Daroussin.Ic \&Bk .
14417295610fSBaptiste Daroussin.It Ic \&El
144261d06d6bSBaptiste DaroussinEnd a list context started by
14437295610fSBaptiste Daroussin.Ic \&Bl .
144461d06d6bSBaptiste DaroussinSee also
14457295610fSBaptiste Daroussin.Ic \&It .
14466d38604fSBaptiste Daroussin.Tg Em
14477295610fSBaptiste Daroussin.It Ic \&Em Ar word ...
144861d06d6bSBaptiste DaroussinRequest an italic font.
144961d06d6bSBaptiste DaroussinIf the output device does not provide that, underline.
145061d06d6bSBaptiste Daroussin.Pp
145161d06d6bSBaptiste DaroussinThis is most often used for stress emphasis (not to be confused with
145261d06d6bSBaptiste Daroussinimportance, see
14537295610fSBaptiste Daroussin.Ic \&Sy ) .
145461d06d6bSBaptiste DaroussinIn the rare cases where none of the semantic markup macros fit,
145561d06d6bSBaptiste Daroussinit can also be used for technical terms and placeholders, except
145661d06d6bSBaptiste Daroussinthat for syntax elements,
14577295610fSBaptiste Daroussin.Ic \&Sy
145861d06d6bSBaptiste Daroussinand
14597295610fSBaptiste Daroussin.Ic \&Ar
146061d06d6bSBaptiste Daroussinare preferred, respectively.
146161d06d6bSBaptiste Daroussin.Pp
146261d06d6bSBaptiste DaroussinExamples:
146361d06d6bSBaptiste Daroussin.Bd -literal -compact -offset indent
146461d06d6bSBaptiste DaroussinSelected lines are those
146561d06d6bSBaptiste Daroussin\&.Em not
146661d06d6bSBaptiste Daroussinmatching any of the specified patterns.
146761d06d6bSBaptiste DaroussinSome of the functions use a
146861d06d6bSBaptiste Daroussin\&.Em hold space
146961d06d6bSBaptiste Daroussinto save the pattern space for subsequent retrieval.
147061d06d6bSBaptiste Daroussin.Ed
147161d06d6bSBaptiste Daroussin.Pp
147261d06d6bSBaptiste DaroussinSee also
14737295610fSBaptiste Daroussin.Ic \&No ,
14747295610fSBaptiste Daroussin.Ic \&Ql ,
147561d06d6bSBaptiste Daroussinand
14767295610fSBaptiste Daroussin.Ic \&Sy .
14777295610fSBaptiste Daroussin.It Ic \&En Ar word ...
147861d06d6bSBaptiste DaroussinThis macro is obsolete.
147961d06d6bSBaptiste DaroussinUse
14807295610fSBaptiste Daroussin.Ic \&Eo
148161d06d6bSBaptiste Daroussinor any of the other enclosure macros.
148261d06d6bSBaptiste Daroussin.Pp
148361d06d6bSBaptiste DaroussinIt encloses its argument in the delimiters specified by the last
14847295610fSBaptiste Daroussin.Ic \&Es
148561d06d6bSBaptiste Daroussinmacro.
14866d38604fSBaptiste Daroussin.Tg Eo
14877295610fSBaptiste Daroussin.It Ic \&Eo Op Ar opening_delimiter
148861d06d6bSBaptiste DaroussinAn arbitrary enclosure.
148961d06d6bSBaptiste DaroussinThe
14907295610fSBaptiste Daroussin.Ar opening_delimiter
149161d06d6bSBaptiste Daroussinargument is used as the enclosure head, for example, specifying \e(lq
149261d06d6bSBaptiste Daroussinwill emulate
14937295610fSBaptiste Daroussin.Ic \&Do .
14946d38604fSBaptiste Daroussin.Tg Er
14957295610fSBaptiste Daroussin.It Ic \&Er Ar identifier ...
149661d06d6bSBaptiste DaroussinError constants for definitions of the
149761d06d6bSBaptiste Daroussin.Va errno
149861d06d6bSBaptiste Daroussinlibc global variable.
149961d06d6bSBaptiste DaroussinThis is most often used in section 2 and 3 manual pages.
150061d06d6bSBaptiste Daroussin.Pp
150161d06d6bSBaptiste DaroussinExamples:
150261d06d6bSBaptiste Daroussin.Dl \&.Er EPERM
150361d06d6bSBaptiste Daroussin.Dl \&.Er ENOENT
150461d06d6bSBaptiste Daroussin.Pp
150561d06d6bSBaptiste DaroussinSee also
15067295610fSBaptiste Daroussin.Ic \&Dv
150761d06d6bSBaptiste Daroussinfor general constants.
15087295610fSBaptiste Daroussin.It Ic \&Es Ar opening_delimiter closing_delimiter
150961d06d6bSBaptiste DaroussinThis macro is obsolete.
151061d06d6bSBaptiste DaroussinUse
15117295610fSBaptiste Daroussin.Ic \&Eo
151261d06d6bSBaptiste Daroussinor any of the other enclosure macros.
151361d06d6bSBaptiste Daroussin.Pp
151461d06d6bSBaptiste DaroussinIt takes two arguments, defining the delimiters to be used by subsequent
15157295610fSBaptiste Daroussin.Ic \&En
151661d06d6bSBaptiste Daroussinmacros.
15176d38604fSBaptiste Daroussin.Tg Ev
15187295610fSBaptiste Daroussin.It Ic \&Ev Ar identifier ...
151961d06d6bSBaptiste DaroussinEnvironmental variables such as those specified in
152061d06d6bSBaptiste Daroussin.Xr environ 7 .
152161d06d6bSBaptiste Daroussin.Pp
152261d06d6bSBaptiste DaroussinExamples:
152361d06d6bSBaptiste Daroussin.Dl \&.Ev DISPLAY
152461d06d6bSBaptiste Daroussin.Dl \&.Ev PATH
152561d06d6bSBaptiste Daroussin.Pp
152661d06d6bSBaptiste DaroussinSee also
15277295610fSBaptiste Daroussin.Ic \&Dv
152861d06d6bSBaptiste Daroussinfor general constants.
15296d38604fSBaptiste Daroussin.Tg Ex
15307295610fSBaptiste Daroussin.It Ic \&Ex Fl std Op Ar utility ...
153161d06d6bSBaptiste DaroussinInsert a standard sentence regarding command exit values of 0 on success
153261d06d6bSBaptiste Daroussinand >0 on failure.
153361d06d6bSBaptiste DaroussinThis is most often used in section 1, 6, and 8 manual pages.
153461d06d6bSBaptiste Daroussin.Pp
153561d06d6bSBaptiste DaroussinIf
153661d06d6bSBaptiste Daroussin.Ar utility
153761d06d6bSBaptiste Daroussinis not specified, the document's name set by
15387295610fSBaptiste Daroussin.Ic \&Nm
153961d06d6bSBaptiste Daroussinis used.
154061d06d6bSBaptiste DaroussinMultiple
154161d06d6bSBaptiste Daroussin.Ar utility
154261d06d6bSBaptiste Daroussinarguments are treated as separate utilities.
154361d06d6bSBaptiste Daroussin.Pp
154461d06d6bSBaptiste DaroussinSee also
15457295610fSBaptiste Daroussin.Ic \&Rv .
15466d38604fSBaptiste Daroussin.Tg Fa
15477295610fSBaptiste Daroussin.It Ic \&Fa Ar argument ...
154861d06d6bSBaptiste DaroussinFunction argument or parameter.
154961d06d6bSBaptiste DaroussinEach argument may be a name and a type (recommended for the
155061d06d6bSBaptiste Daroussin.Em SYNOPSIS
155161d06d6bSBaptiste Daroussinsection), a name alone (for function invocations),
155261d06d6bSBaptiste Daroussinor a type alone (for function prototypes).
155361d06d6bSBaptiste DaroussinIf both a type and a name are given or if the type consists of multiple
155461d06d6bSBaptiste Daroussinwords, all words belonging to the same function argument have to be
155561d06d6bSBaptiste Daroussingiven in a single argument to the
15567295610fSBaptiste Daroussin.Ic \&Fa
155761d06d6bSBaptiste Daroussinmacro.
155861d06d6bSBaptiste Daroussin.Pp
155961d06d6bSBaptiste DaroussinThis macro is also used to specify the field name of a structure.
156061d06d6bSBaptiste Daroussin.Pp
156161d06d6bSBaptiste DaroussinMost often, the
15627295610fSBaptiste Daroussin.Ic \&Fa
156361d06d6bSBaptiste Daroussinmacro is used in the
156461d06d6bSBaptiste Daroussin.Em SYNOPSIS
156561d06d6bSBaptiste Daroussinwithin
15667295610fSBaptiste Daroussin.Ic \&Fo
156761d06d6bSBaptiste Daroussinblocks when documenting multi-line function prototypes.
156861d06d6bSBaptiste DaroussinIf invoked with multiple arguments, the arguments are separated by a
156961d06d6bSBaptiste Daroussincomma.
157061d06d6bSBaptiste DaroussinFurthermore, if the following macro is another
15717295610fSBaptiste Daroussin.Ic \&Fa ,
157261d06d6bSBaptiste Daroussinthe last argument will also have a trailing comma.
157361d06d6bSBaptiste Daroussin.Pp
157461d06d6bSBaptiste DaroussinExamples:
157561d06d6bSBaptiste Daroussin.Dl \&.Fa \(dqconst char *p\(dq
157661d06d6bSBaptiste Daroussin.Dl \&.Fa \(dqint a\(dq \(dqint b\(dq \(dqint c\(dq
157761d06d6bSBaptiste Daroussin.Dl \&.Fa \(dqchar *\(dq size_t
157861d06d6bSBaptiste Daroussin.Pp
157961d06d6bSBaptiste DaroussinSee also
15807295610fSBaptiste Daroussin.Ic \&Fo .
15817295610fSBaptiste Daroussin.It Ic \&Fc
158261d06d6bSBaptiste DaroussinEnd a function context started by
15837295610fSBaptiste Daroussin.Ic \&Fo .
15846d38604fSBaptiste Daroussin.Tg Fd
15857295610fSBaptiste Daroussin.It Ic \&Fd Pf # Ar directive Op Ar argument ...
158661d06d6bSBaptiste DaroussinPreprocessor directive, in particular for listing it in the
158761d06d6bSBaptiste Daroussin.Em SYNOPSIS .
158861d06d6bSBaptiste DaroussinHistorically, it was also used to document include files.
158961d06d6bSBaptiste DaroussinThe latter usage has been deprecated in favour of
15907295610fSBaptiste Daroussin.Ic \&In .
159161d06d6bSBaptiste Daroussin.Pp
159261d06d6bSBaptiste DaroussinExamples:
159361d06d6bSBaptiste Daroussin.Dl \&.Fd #define sa_handler __sigaction_u.__sa_handler
159461d06d6bSBaptiste Daroussin.Dl \&.Fd #define SIO_MAXNFDS
159561d06d6bSBaptiste Daroussin.Dl \&.Fd #ifdef FS_DEBUG
159661d06d6bSBaptiste Daroussin.Dl \&.Ft void
159761d06d6bSBaptiste Daroussin.Dl \&.Fn dbg_open \(dqconst char *\(dq
159861d06d6bSBaptiste Daroussin.Dl \&.Fd #endif
159961d06d6bSBaptiste Daroussin.Pp
160061d06d6bSBaptiste DaroussinSee also
160161d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE ,
16027295610fSBaptiste Daroussin.Ic \&In ,
160361d06d6bSBaptiste Daroussinand
16047295610fSBaptiste Daroussin.Ic \&Dv .
16056d38604fSBaptiste Daroussin.Tg Fl
16067295610fSBaptiste Daroussin.It Ic \&Fl Op Ar word ...
160761d06d6bSBaptiste DaroussinCommand-line flag or option.
160861d06d6bSBaptiste DaroussinUsed when listing arguments to command-line utilities.
16096d38604fSBaptiste DaroussinFor each argument, prints an ASCII hyphen-minus character
16106d38604fSBaptiste Daroussin.Sq \- ,
16116d38604fSBaptiste Daroussinimmediately followed by the argument.
16126d38604fSBaptiste DaroussinIf no arguments are provided, a hyphen-minus is printed followed by a space.
16136d38604fSBaptiste DaroussinIf the argument is a macro, a hyphen-minus is prefixed
16146d38604fSBaptiste Daroussinto the subsequent macro output.
161561d06d6bSBaptiste Daroussin.Pp
161661d06d6bSBaptiste DaroussinExamples:
16176d38604fSBaptiste Daroussin.Dl ".Nm du Op Fl H | L | P"
16186d38604fSBaptiste Daroussin.Dl ".Nm ls Op Fl 1AaCcdFfgHhikLlmnopqRrSsTtux"
16196d38604fSBaptiste Daroussin.Dl ".Nm route Cm add Fl inet Ar destination gateway"
16206d38604fSBaptiste Daroussin.Dl ".Nm locate.updatedb Op Fl \e-fcodes Ns = Ns Ar dbfile"
16216d38604fSBaptiste Daroussin.Dl ".Nm aucat Fl o Fl"
16226d38604fSBaptiste Daroussin.Dl ".Nm kill Fl Ar signal_number"
16236d38604fSBaptiste Daroussin.Pp
1624c1c95addSBrooks DavisFor GNU-style long options, escaping the additional hyphen-minus is not
16256d38604fSBaptiste Daroussinstrictly required, but may be safer with future versions of GNU troff; see
16266d38604fSBaptiste Daroussin.Xr mandoc_char 7
16276d38604fSBaptiste Daroussinfor details.
162861d06d6bSBaptiste Daroussin.Pp
162961d06d6bSBaptiste DaroussinSee also
16307295610fSBaptiste Daroussin.Ic \&Cm .
16316d38604fSBaptiste Daroussin.Tg Fn
16327295610fSBaptiste Daroussin.It Ic \&Fn Ar funcname Op Ar argument ...
163361d06d6bSBaptiste DaroussinA function name.
163461d06d6bSBaptiste Daroussin.Pp
163561d06d6bSBaptiste DaroussinFunction arguments are surrounded in parenthesis and
163661d06d6bSBaptiste Daroussinare delimited by commas.
163761d06d6bSBaptiste DaroussinIf no arguments are specified, blank parenthesis are output.
163861d06d6bSBaptiste DaroussinIn the
163961d06d6bSBaptiste Daroussin.Em SYNOPSIS
164061d06d6bSBaptiste Daroussinsection, this macro starts a new output line,
164161d06d6bSBaptiste Daroussinand a blank line is automatically inserted between function definitions.
164261d06d6bSBaptiste Daroussin.Pp
164361d06d6bSBaptiste DaroussinExamples:
164461d06d6bSBaptiste Daroussin.Dl \&.Fn \(dqint funcname\(dq \(dqint arg0\(dq \(dqint arg1\(dq
164561d06d6bSBaptiste Daroussin.Dl \&.Fn funcname \(dqint arg0\(dq
164661d06d6bSBaptiste Daroussin.Dl \&.Fn funcname arg0
16477295610fSBaptiste Daroussin.Bd -literal -offset indent
164861d06d6bSBaptiste Daroussin\&.Ft functype
164961d06d6bSBaptiste Daroussin\&.Fn funcname
165061d06d6bSBaptiste Daroussin.Ed
165161d06d6bSBaptiste Daroussin.Pp
165261d06d6bSBaptiste DaroussinWhen referring to a function documented in another manual page, use
16537295610fSBaptiste Daroussin.Ic \&Xr
165461d06d6bSBaptiste Daroussininstead.
165561d06d6bSBaptiste DaroussinSee also
165661d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE ,
16577295610fSBaptiste Daroussin.Ic \&Fo ,
165861d06d6bSBaptiste Daroussinand
16597295610fSBaptiste Daroussin.Ic \&Ft .
16606d38604fSBaptiste Daroussin.Tg Fo
16617295610fSBaptiste Daroussin.It Ic \&Fo Ar funcname
166261d06d6bSBaptiste DaroussinBegin a function block.
166361d06d6bSBaptiste DaroussinThis is a multi-line version of
16647295610fSBaptiste Daroussin.Ic \&Fn .
166561d06d6bSBaptiste Daroussin.Pp
166661d06d6bSBaptiste DaroussinInvocations usually occur in the following context:
166761d06d6bSBaptiste Daroussin.Bd -ragged -offset indent
16687295610fSBaptiste Daroussin.Pf \. Ic \&Ft Ar functype
166961d06d6bSBaptiste Daroussin.br
16707295610fSBaptiste Daroussin.Pf \. Ic \&Fo Ar funcname
167161d06d6bSBaptiste Daroussin.br
16727295610fSBaptiste Daroussin.Pf \. Ic \&Fa Qq Ar argtype Ar argname
167361d06d6bSBaptiste Daroussin.br
167461d06d6bSBaptiste Daroussin\&.\.\.
167561d06d6bSBaptiste Daroussin.br
16767295610fSBaptiste Daroussin.Pf \. Ic \&Fc
167761d06d6bSBaptiste Daroussin.Ed
167861d06d6bSBaptiste Daroussin.Pp
167961d06d6bSBaptiste DaroussinA
16807295610fSBaptiste Daroussin.Ic \&Fo
168161d06d6bSBaptiste Daroussinscope is closed by
16827295610fSBaptiste Daroussin.Ic \&Fc .
168361d06d6bSBaptiste Daroussin.Pp
168461d06d6bSBaptiste DaroussinSee also
168561d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE ,
16867295610fSBaptiste Daroussin.Ic \&Fa ,
16877295610fSBaptiste Daroussin.Ic \&Fc ,
168861d06d6bSBaptiste Daroussinand
16897295610fSBaptiste Daroussin.Ic \&Ft .
16907295610fSBaptiste Daroussin.It Ic \&Fr Ar number
169161d06d6bSBaptiste DaroussinThis macro is obsolete.
169261d06d6bSBaptiste DaroussinNo replacement markup is needed.
169361d06d6bSBaptiste Daroussin.Pp
169461d06d6bSBaptiste DaroussinIt was used to show numerical function return values in an italic font.
16956d38604fSBaptiste Daroussin.Tg Ft
16967295610fSBaptiste Daroussin.It Ic \&Ft Ar functype
169761d06d6bSBaptiste DaroussinA function type.
169861d06d6bSBaptiste Daroussin.Pp
169961d06d6bSBaptiste DaroussinIn the
170061d06d6bSBaptiste Daroussin.Em SYNOPSIS
170161d06d6bSBaptiste Daroussinsection, a new output line is started after this macro.
170261d06d6bSBaptiste Daroussin.Pp
170361d06d6bSBaptiste DaroussinExamples:
170461d06d6bSBaptiste Daroussin.Dl \&.Ft int
170561d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
170661d06d6bSBaptiste Daroussin\&.Ft functype
170761d06d6bSBaptiste Daroussin\&.Fn funcname
170861d06d6bSBaptiste Daroussin.Ed
170961d06d6bSBaptiste Daroussin.Pp
171061d06d6bSBaptiste DaroussinSee also
171161d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE ,
17127295610fSBaptiste Daroussin.Ic \&Fn ,
171361d06d6bSBaptiste Daroussinand
17147295610fSBaptiste Daroussin.Ic \&Fo .
17156d38604fSBaptiste Daroussin.Tg Fx
17167295610fSBaptiste Daroussin.It Ic \&Fx Op Ar version
171761d06d6bSBaptiste DaroussinFormat the
171861d06d6bSBaptiste Daroussin.Fx
171961d06d6bSBaptiste Daroussinversion provided as an argument, or a default value
172061d06d6bSBaptiste Daroussinif no argument is provided.
172161d06d6bSBaptiste Daroussin.Pp
172261d06d6bSBaptiste DaroussinExamples:
172361d06d6bSBaptiste Daroussin.Dl \&.Fx 7.1
172461d06d6bSBaptiste Daroussin.Dl \&.Fx
172561d06d6bSBaptiste Daroussin.Pp
172661d06d6bSBaptiste DaroussinSee also
17277295610fSBaptiste Daroussin.Ic \&At ,
17287295610fSBaptiste Daroussin.Ic \&Bsx ,
17297295610fSBaptiste Daroussin.Ic \&Bx ,
17307295610fSBaptiste Daroussin.Ic \&Dx ,
17317295610fSBaptiste Daroussin.Ic \&Nx ,
173261d06d6bSBaptiste Daroussinand
17337295610fSBaptiste Daroussin.Ic \&Ox .
17347295610fSBaptiste Daroussin.It Ic \&Hf Ar filename
173561d06d6bSBaptiste DaroussinThis macro is not implemented in
173661d06d6bSBaptiste Daroussin.Xr mandoc 1 .
173761d06d6bSBaptiste DaroussinIt was used to include the contents of a (header) file literally.
17386d38604fSBaptiste Daroussin.Tg Ic
17397295610fSBaptiste Daroussin.It Ic \&Ic Ar keyword ...
174045a5aec3SBaptiste DaroussinInternal or interactive command, or configuration instruction
174145a5aec3SBaptiste Daroussinin a configuration file.
174245a5aec3SBaptiste DaroussinSee also
174345a5aec3SBaptiste Daroussin.Ic \&Cm .
174461d06d6bSBaptiste Daroussin.Pp
174561d06d6bSBaptiste DaroussinExamples:
174661d06d6bSBaptiste Daroussin.Dl \&.Ic :wq
174761d06d6bSBaptiste Daroussin.Dl \&.Ic hash
174861d06d6bSBaptiste Daroussin.Dl \&.Ic alias
174961d06d6bSBaptiste Daroussin.Pp
175061d06d6bSBaptiste DaroussinNote that using
17517295610fSBaptiste Daroussin.Ic \&Ql ,
17527295610fSBaptiste Daroussin.Ic \&Dl ,
175361d06d6bSBaptiste Daroussinor
17547295610fSBaptiste Daroussin.Ic \&Bd Fl literal
17557295610fSBaptiste Daroussinis preferred for displaying code samples; the
17567295610fSBaptiste Daroussin.Ic \&Ic
17577295610fSBaptiste Daroussinmacro is used when referring to an individual command name.
17586d38604fSBaptiste Daroussin.Tg In
17597295610fSBaptiste Daroussin.It Ic \&In Ar filename
176061d06d6bSBaptiste DaroussinThe name of an include file.
176161d06d6bSBaptiste DaroussinThis macro is most often used in section 2, 3, and 9 manual pages.
176261d06d6bSBaptiste Daroussin.Pp
176361d06d6bSBaptiste DaroussinWhen invoked as the first macro on an input line in the
176461d06d6bSBaptiste Daroussin.Em SYNOPSIS
176561d06d6bSBaptiste Daroussinsection, the argument is displayed in angle brackets
176661d06d6bSBaptiste Daroussinand preceded by
176761d06d6bSBaptiste Daroussin.Qq #include ,
176861d06d6bSBaptiste Daroussinand a blank line is inserted in front if there is a preceding
176961d06d6bSBaptiste Daroussinfunction declaration.
177061d06d6bSBaptiste DaroussinIn other sections, it only encloses its argument in angle brackets
177161d06d6bSBaptiste Daroussinand causes no line break.
177261d06d6bSBaptiste Daroussin.Pp
177361d06d6bSBaptiste DaroussinExamples:
177461d06d6bSBaptiste Daroussin.Dl \&.In sys/types.h
177561d06d6bSBaptiste Daroussin.Pp
177661d06d6bSBaptiste DaroussinSee also
177761d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE .
17786d38604fSBaptiste Daroussin.Tg It
17797295610fSBaptiste Daroussin.It Ic \&It Op Ar head
178061d06d6bSBaptiste DaroussinA list item.
178161d06d6bSBaptiste DaroussinThe syntax of this macro depends on the list type.
178261d06d6bSBaptiste Daroussin.Pp
178361d06d6bSBaptiste DaroussinLists
178461d06d6bSBaptiste Daroussinof type
178561d06d6bSBaptiste Daroussin.Fl hang ,
178661d06d6bSBaptiste Daroussin.Fl ohang ,
178761d06d6bSBaptiste Daroussin.Fl inset ,
178861d06d6bSBaptiste Daroussinand
178961d06d6bSBaptiste Daroussin.Fl diag
179061d06d6bSBaptiste Daroussinhave the following syntax:
179161d06d6bSBaptiste Daroussin.Pp
17927295610fSBaptiste Daroussin.D1 Pf \. Ic \&It Ar args
179361d06d6bSBaptiste Daroussin.Pp
179461d06d6bSBaptiste DaroussinLists of type
179561d06d6bSBaptiste Daroussin.Fl bullet ,
179661d06d6bSBaptiste Daroussin.Fl dash ,
179761d06d6bSBaptiste Daroussin.Fl enum ,
179861d06d6bSBaptiste Daroussin.Fl hyphen
179961d06d6bSBaptiste Daroussinand
180061d06d6bSBaptiste Daroussin.Fl item
180161d06d6bSBaptiste Daroussinhave the following syntax:
180261d06d6bSBaptiste Daroussin.Pp
18037295610fSBaptiste Daroussin.D1 Pf \. Ic \&It
180461d06d6bSBaptiste Daroussin.Pp
180561d06d6bSBaptiste Daroussinwith subsequent lines interpreted within the scope of the
18067295610fSBaptiste Daroussin.Ic \&It
180761d06d6bSBaptiste Daroussinuntil either a closing
18087295610fSBaptiste Daroussin.Ic \&El
180961d06d6bSBaptiste Daroussinor another
18107295610fSBaptiste Daroussin.Ic \&It .
181161d06d6bSBaptiste Daroussin.Pp
181261d06d6bSBaptiste DaroussinThe
181361d06d6bSBaptiste Daroussin.Fl tag
181461d06d6bSBaptiste Daroussinlist has the following syntax:
181561d06d6bSBaptiste Daroussin.Pp
18167295610fSBaptiste Daroussin.D1 Pf \. Ic \&It Op Cm args
181761d06d6bSBaptiste Daroussin.Pp
181861d06d6bSBaptiste DaroussinSubsequent lines are interpreted as with
181961d06d6bSBaptiste Daroussin.Fl bullet
182061d06d6bSBaptiste Daroussinand family.
182161d06d6bSBaptiste DaroussinThe line arguments correspond to the list's left-hand side; body
182261d06d6bSBaptiste Daroussinarguments correspond to the list's contents.
182361d06d6bSBaptiste Daroussin.Pp
182461d06d6bSBaptiste DaroussinThe
182561d06d6bSBaptiste Daroussin.Fl column
182661d06d6bSBaptiste Daroussinlist is the most complicated.
182761d06d6bSBaptiste DaroussinIts syntax is as follows:
182861d06d6bSBaptiste Daroussin.Pp
18297295610fSBaptiste Daroussin.D1 Pf \. Ic \&It Ar cell Op Ic \&Ta Ar cell ...
18307295610fSBaptiste Daroussin.D1 Pf \. Ic \&It Ar cell Op <TAB> Ar cell ...
183161d06d6bSBaptiste Daroussin.Pp
183261d06d6bSBaptiste DaroussinThe arguments consist of one or more lines of text and macros
183361d06d6bSBaptiste Daroussinrepresenting a complete table line.
183461d06d6bSBaptiste DaroussinCells within the line are delimited by the special
18357295610fSBaptiste Daroussin.Ic \&Ta
183661d06d6bSBaptiste Daroussinblock macro or by literal tab characters.
183761d06d6bSBaptiste Daroussin.Pp
183861d06d6bSBaptiste DaroussinUsing literal tabs is strongly discouraged because they are very
183961d06d6bSBaptiste Daroussinhard to use correctly and
184061d06d6bSBaptiste Daroussin.Nm
184161d06d6bSBaptiste Daroussincode using them is very hard to read.
184261d06d6bSBaptiste DaroussinIn particular, a blank character is syntactically significant
184361d06d6bSBaptiste Daroussinbefore and after the literal tab character.
184461d06d6bSBaptiste DaroussinIf a word precedes or follows the tab without an intervening blank,
184561d06d6bSBaptiste Daroussinthat word is never interpreted as a macro call, but always output
184661d06d6bSBaptiste Daroussinliterally.
184761d06d6bSBaptiste Daroussin.Pp
184861d06d6bSBaptiste DaroussinThe tab cell delimiter may only be used within the
18497295610fSBaptiste Daroussin.Ic \&It
185061d06d6bSBaptiste Daroussinline itself; on following lines, only the
18517295610fSBaptiste Daroussin.Ic \&Ta
185261d06d6bSBaptiste Daroussinmacro can be used to delimit cells, and portability requires that
18537295610fSBaptiste Daroussin.Ic \&Ta
185461d06d6bSBaptiste Daroussinis called by other macros: some parsers do not recognize it when
185561d06d6bSBaptiste Daroussinit appears as the first macro on a line.
185661d06d6bSBaptiste Daroussin.Pp
185761d06d6bSBaptiste DaroussinNote that quoted strings may span tab-delimited cells on an
18587295610fSBaptiste Daroussin.Ic \&It
185961d06d6bSBaptiste Daroussinline.
186061d06d6bSBaptiste DaroussinFor example,
186161d06d6bSBaptiste Daroussin.Pp
186261d06d6bSBaptiste Daroussin.Dl .It \(dqcol1 ,\& <TAB> col2 ,\(dq \&;
186361d06d6bSBaptiste Daroussin.Pp
186461d06d6bSBaptiste Daroussinwill preserve the whitespace before both commas,
186561d06d6bSBaptiste Daroussinbut not the whitespace before the semicolon.
186661d06d6bSBaptiste Daroussin.Pp
186761d06d6bSBaptiste DaroussinSee also
18687295610fSBaptiste Daroussin.Ic \&Bl .
18696d38604fSBaptiste Daroussin.Tg Lb
18707295610fSBaptiste Daroussin.It Ic \&Lb Cm lib Ns Ar name
187161d06d6bSBaptiste DaroussinSpecify a library.
187261d06d6bSBaptiste Daroussin.Pp
187361d06d6bSBaptiste DaroussinThe
18747295610fSBaptiste Daroussin.Ar name
187561d06d6bSBaptiste Daroussinparameter may be a system library, such as
18767295610fSBaptiste Daroussin.Cm z
187761d06d6bSBaptiste Daroussinor
18787295610fSBaptiste Daroussin.Cm pam ,
187961d06d6bSBaptiste Daroussinin which case a small library description is printed next to the linker
188061d06d6bSBaptiste Daroussininvocation; or a custom library, in which case the library name is
188161d06d6bSBaptiste Daroussinprinted in quotes.
188261d06d6bSBaptiste DaroussinThis is most commonly used in the
188361d06d6bSBaptiste Daroussin.Em SYNOPSIS
188461d06d6bSBaptiste Daroussinsection as described in
188561d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE .
188661d06d6bSBaptiste Daroussin.Pp
188761d06d6bSBaptiste DaroussinExamples:
188861d06d6bSBaptiste Daroussin.Dl \&.Lb libz
188961d06d6bSBaptiste Daroussin.Dl \&.Lb libmandoc
18906d38604fSBaptiste Daroussin.Tg Li
18917295610fSBaptiste Daroussin.It Ic \&Li Ar word ...
18927295610fSBaptiste DaroussinRequest a typewriter (literal) font.
18937295610fSBaptiste DaroussinDeprecated because on terminal output devices, this is usually
18947295610fSBaptiste Daroussinindistinguishable from normal text.
18957295610fSBaptiste DaroussinFor literal displays, use
18967295610fSBaptiste Daroussin.Ic \&Ql Pq in-line ,
18977295610fSBaptiste Daroussin.Ic \&Dl Pq single line ,
18987295610fSBaptiste Daroussinor
18997295610fSBaptiste Daroussin.Ic \&Bd Fl literal Pq multi-line
19007295610fSBaptiste Daroussininstead.
19016d38604fSBaptiste Daroussin.Tg Lk
19027295610fSBaptiste Daroussin.It Ic \&Lk Ar uri Op Ar display_name
190361d06d6bSBaptiste DaroussinFormat a hyperlink.
190461d06d6bSBaptiste Daroussin.Pp
190561d06d6bSBaptiste DaroussinExamples:
19066d38604fSBaptiste Daroussin.Dl \&.Lk https://bsd.lv \(dqThe BSD.lv Project\(dq
19076d38604fSBaptiste Daroussin.Dl \&.Lk https://bsd.lv
190861d06d6bSBaptiste Daroussin.Pp
190961d06d6bSBaptiste DaroussinSee also
19107295610fSBaptiste Daroussin.Ic \&Mt .
19117295610fSBaptiste Daroussin.It Ic \&Lp
19127295610fSBaptiste DaroussinDeprecated synonym for
19137295610fSBaptiste Daroussin.Ic \&Pp .
19146d38604fSBaptiste Daroussin.Tg Ms
19157295610fSBaptiste Daroussin.It Ic \&Ms Ar name
191661d06d6bSBaptiste DaroussinDisplay a mathematical symbol.
191761d06d6bSBaptiste Daroussin.Pp
191861d06d6bSBaptiste DaroussinExamples:
191961d06d6bSBaptiste Daroussin.Dl \&.Ms sigma
192061d06d6bSBaptiste Daroussin.Dl \&.Ms aleph
19216d38604fSBaptiste Daroussin.Tg Mt
19227295610fSBaptiste Daroussin.It Ic \&Mt Ar localpart Ns @ Ns Ar domain
192361d06d6bSBaptiste DaroussinFormat a
192461d06d6bSBaptiste Daroussin.Dq mailto:
192561d06d6bSBaptiste Daroussinhyperlink.
192661d06d6bSBaptiste Daroussin.Pp
192761d06d6bSBaptiste DaroussinExamples:
192861d06d6bSBaptiste Daroussin.Dl \&.Mt discuss@manpages.bsd.lv
192961d06d6bSBaptiste Daroussin.Dl \&.An Kristaps Dzonsons \&Aq \&Mt kristaps@bsd.lv
19306d38604fSBaptiste Daroussin.Tg Nd
19317295610fSBaptiste Daroussin.It Ic \&Nd Ar line
193261d06d6bSBaptiste DaroussinA one line description of the manual's content.
193361d06d6bSBaptiste DaroussinThis is the mandatory last macro of the
193461d06d6bSBaptiste Daroussin.Em NAME
193561d06d6bSBaptiste Daroussinsection and not appropriate for other sections.
193661d06d6bSBaptiste Daroussin.Pp
193761d06d6bSBaptiste DaroussinExamples:
19387295610fSBaptiste Daroussin.Dl Pf . Ic \&Nd mdoc language reference
19397295610fSBaptiste Daroussin.Dl Pf . Ic \&Nd format and display UNIX manuals
194061d06d6bSBaptiste Daroussin.Pp
194161d06d6bSBaptiste DaroussinThe
19427295610fSBaptiste Daroussin.Ic \&Nd
194361d06d6bSBaptiste Daroussinmacro technically accepts child macros and terminates with a subsequent
19447295610fSBaptiste Daroussin.Ic \&Sh
194561d06d6bSBaptiste Daroussininvocation.
194661d06d6bSBaptiste DaroussinDo not assume this behaviour: some
194761d06d6bSBaptiste Daroussin.Xr whatis 1
194861d06d6bSBaptiste Daroussindatabase generators are not smart enough to parse more than the line
194961d06d6bSBaptiste Daroussinarguments and will display macros verbatim.
195061d06d6bSBaptiste Daroussin.Pp
195161d06d6bSBaptiste DaroussinSee also
19527295610fSBaptiste Daroussin.Ic \&Nm .
19536d38604fSBaptiste Daroussin.Tg Nm
19547295610fSBaptiste Daroussin.It Ic \&Nm Op Ar name
195561d06d6bSBaptiste DaroussinThe name of the manual page, or \(em in particular in section 1, 6,
195661d06d6bSBaptiste Daroussinand 8 pages \(em of an additional command or feature documented in
195761d06d6bSBaptiste Daroussinthe manual page.
195861d06d6bSBaptiste DaroussinWhen first invoked, the
19597295610fSBaptiste Daroussin.Ic \&Nm
196061d06d6bSBaptiste Daroussinmacro expects a single argument, the name of the manual page.
196161d06d6bSBaptiste DaroussinUsually, the first invocation happens in the
196261d06d6bSBaptiste Daroussin.Em NAME
196361d06d6bSBaptiste Daroussinsection of the page.
196461d06d6bSBaptiste DaroussinThe specified name will be remembered and used whenever the macro is
196561d06d6bSBaptiste Daroussincalled again without arguments later in the page.
196661d06d6bSBaptiste DaroussinThe
19677295610fSBaptiste Daroussin.Ic \&Nm
196861d06d6bSBaptiste Daroussinmacro uses
196961d06d6bSBaptiste Daroussin.Sx Block full-implicit
197061d06d6bSBaptiste Daroussinsemantics when invoked as the first macro on an input line in the
197161d06d6bSBaptiste Daroussin.Em SYNOPSIS
197261d06d6bSBaptiste Daroussinsection; otherwise, it uses ordinary
197361d06d6bSBaptiste Daroussin.Sx In-line
197461d06d6bSBaptiste Daroussinsemantics.
197561d06d6bSBaptiste Daroussin.Pp
197661d06d6bSBaptiste DaroussinExamples:
197761d06d6bSBaptiste Daroussin.Bd -literal -offset indent
197861d06d6bSBaptiste Daroussin\&.Sh SYNOPSIS
197961d06d6bSBaptiste Daroussin\&.Nm cat
198061d06d6bSBaptiste Daroussin\&.Op Fl benstuv
198161d06d6bSBaptiste Daroussin\&.Op Ar
198261d06d6bSBaptiste Daroussin.Ed
198361d06d6bSBaptiste Daroussin.Pp
198461d06d6bSBaptiste DaroussinIn the
198561d06d6bSBaptiste Daroussin.Em SYNOPSIS
198661d06d6bSBaptiste Daroussinof section 2, 3 and 9 manual pages, use the
19877295610fSBaptiste Daroussin.Ic \&Fn
198861d06d6bSBaptiste Daroussinmacro rather than
19897295610fSBaptiste Daroussin.Ic \&Nm
199061d06d6bSBaptiste Daroussinto mark up the name of the manual page.
19916d38604fSBaptiste Daroussin.Tg No
19927295610fSBaptiste Daroussin.It Ic \&No Ar word ...
199361d06d6bSBaptiste DaroussinNormal text.
199461d06d6bSBaptiste DaroussinCloses the scope of any preceding in-line macro.
199561d06d6bSBaptiste DaroussinWhen used after physical formatting macros like
19967295610fSBaptiste Daroussin.Ic \&Em
199761d06d6bSBaptiste Daroussinor
19987295610fSBaptiste Daroussin.Ic \&Sy ,
199961d06d6bSBaptiste Daroussinswitches back to the standard font face and weight.
200061d06d6bSBaptiste DaroussinCan also be used to embed plain text strings in macro lines
200161d06d6bSBaptiste Daroussinusing semantic annotation macros.
200261d06d6bSBaptiste Daroussin.Pp
200361d06d6bSBaptiste DaroussinExamples:
200461d06d6bSBaptiste Daroussin.Dl ".Em italic , Sy bold , No and roman"
20057295610fSBaptiste Daroussin.Bd -literal -offset indent
200661d06d6bSBaptiste Daroussin\&.Sm off
200761d06d6bSBaptiste Daroussin\&.Cm :C No / Ar pattern No / Ar replacement No /
200861d06d6bSBaptiste Daroussin\&.Sm on
200961d06d6bSBaptiste Daroussin.Ed
201061d06d6bSBaptiste Daroussin.Pp
201161d06d6bSBaptiste DaroussinSee also
20127295610fSBaptiste Daroussin.Ic \&Em ,
20137295610fSBaptiste Daroussin.Ic \&Ql ,
201461d06d6bSBaptiste Daroussinand
20157295610fSBaptiste Daroussin.Ic \&Sy .
20166d38604fSBaptiste Daroussin.Tg Ns
20177295610fSBaptiste Daroussin.It Ic \&Ns
201861d06d6bSBaptiste DaroussinSuppress a space between the output of the preceding macro
201961d06d6bSBaptiste Daroussinand the following text or macro.
202061d06d6bSBaptiste DaroussinFollowing invocation, input is interpreted as normal text
202161d06d6bSBaptiste Daroussinjust like after an
20227295610fSBaptiste Daroussin.Ic \&No
202361d06d6bSBaptiste Daroussinmacro.
202461d06d6bSBaptiste Daroussin.Pp
202561d06d6bSBaptiste DaroussinThis has no effect when invoked at the start of a macro line.
202661d06d6bSBaptiste Daroussin.Pp
202761d06d6bSBaptiste DaroussinExamples:
202861d06d6bSBaptiste Daroussin.Dl ".Ar name Ns = Ns Ar value"
202961d06d6bSBaptiste Daroussin.Dl ".Cm :M Ns Ar pattern"
203061d06d6bSBaptiste Daroussin.Dl ".Fl o Ns Ar output"
203161d06d6bSBaptiste Daroussin.Pp
203261d06d6bSBaptiste DaroussinSee also
20337295610fSBaptiste Daroussin.Ic \&No
203461d06d6bSBaptiste Daroussinand
20357295610fSBaptiste Daroussin.Ic \&Sm .
20366d38604fSBaptiste Daroussin.Tg Nx
20377295610fSBaptiste Daroussin.It Ic \&Nx Op Ar version
203861d06d6bSBaptiste DaroussinFormat the
203961d06d6bSBaptiste Daroussin.Nx
204061d06d6bSBaptiste Daroussinversion provided as an argument, or a default value if
204161d06d6bSBaptiste Daroussinno argument is provided.
204261d06d6bSBaptiste Daroussin.Pp
204361d06d6bSBaptiste DaroussinExamples:
204461d06d6bSBaptiste Daroussin.Dl \&.Nx 5.01
204561d06d6bSBaptiste Daroussin.Dl \&.Nx
204661d06d6bSBaptiste Daroussin.Pp
204761d06d6bSBaptiste DaroussinSee also
20487295610fSBaptiste Daroussin.Ic \&At ,
20497295610fSBaptiste Daroussin.Ic \&Bsx ,
20507295610fSBaptiste Daroussin.Ic \&Bx ,
20517295610fSBaptiste Daroussin.Ic \&Dx ,
20527295610fSBaptiste Daroussin.Ic \&Fx ,
205361d06d6bSBaptiste Daroussinand
20547295610fSBaptiste Daroussin.Ic \&Ox .
20557295610fSBaptiste Daroussin.It Ic \&Oc
205661d06d6bSBaptiste DaroussinClose multi-line
20577295610fSBaptiste Daroussin.Ic \&Oo
205861d06d6bSBaptiste Daroussincontext.
20597295610fSBaptiste Daroussin.It Ic \&Oo Ar block
206061d06d6bSBaptiste DaroussinMulti-line version of
20617295610fSBaptiste Daroussin.Ic \&Op .
206261d06d6bSBaptiste Daroussin.Pp
206361d06d6bSBaptiste DaroussinExamples:
206461d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
206561d06d6bSBaptiste Daroussin\&.Oo
206661d06d6bSBaptiste Daroussin\&.Op Fl flag Ns Ar value
206761d06d6bSBaptiste Daroussin\&.Oc
206861d06d6bSBaptiste Daroussin.Ed
20696d38604fSBaptiste Daroussin.Tg Op
20707295610fSBaptiste Daroussin.It Ic \&Op Ar line
207161d06d6bSBaptiste DaroussinOptional part of a command line.
207261d06d6bSBaptiste DaroussinPrints the argument(s) in brackets.
207361d06d6bSBaptiste DaroussinThis is most often used in the
207461d06d6bSBaptiste Daroussin.Em SYNOPSIS
207561d06d6bSBaptiste Daroussinsection of section 1 and 8 manual pages.
207661d06d6bSBaptiste Daroussin.Pp
207761d06d6bSBaptiste DaroussinExamples:
207861d06d6bSBaptiste Daroussin.Dl \&.Op \&Fl a \&Ar b
207961d06d6bSBaptiste Daroussin.Dl \&.Op \&Ar a | b
208061d06d6bSBaptiste Daroussin.Pp
208161d06d6bSBaptiste DaroussinSee also
20827295610fSBaptiste Daroussin.Ic \&Oo .
20836d38604fSBaptiste Daroussin.Tg Os
2084c1c95addSBrooks Davis.It Ic \&Os Op Ar footer text
2085c1c95addSBrooks DavisThe mandatory third macro of every
208661d06d6bSBaptiste Daroussin.Nm
208761d06d6bSBaptiste Daroussinfile.
2088c1c95addSBrooks DavisUsually, do not specify any arguments,
2089c1c95addSBrooks Davisin particular not the operating system name and/or version.
209061d06d6bSBaptiste Daroussin.Pp
2091c1c95addSBrooks DavisIf no argument is given,
209261d06d6bSBaptiste Daroussin.Xr mandoc 1
2093c1c95addSBrooks Davisprints its
209461d06d6bSBaptiste Daroussin.Fl Ios
2095c1c95addSBrooks Davisargument in the page footer, or
209661d06d6bSBaptiste Daroussin.Fa sysname
209761d06d6bSBaptiste Daroussinand
209861d06d6bSBaptiste Daroussin.Fa release
209961d06d6bSBaptiste Daroussinas returned by
2100c1c95addSBrooks Davis.Xr uname 3
2101c1c95addSBrooks Davisby default.
210261d06d6bSBaptiste Daroussin.Pp
2103c1c95addSBrooks DavisManual pages that are part of a portable software project can override
2104c1c95addSBrooks Davisthe default by giving the project name and version number as arguments,
2105c1c95addSBrooks Davisbut leaving it blank is never a bad choice.
210661d06d6bSBaptiste Daroussin.Pp
210761d06d6bSBaptiste DaroussinSee also
21087295610fSBaptiste Daroussin.Ic \&Dd
210961d06d6bSBaptiste Daroussinand
21107295610fSBaptiste Daroussin.Ic \&Dt .
21117295610fSBaptiste Daroussin.It Ic \&Ot Ar functype
211261d06d6bSBaptiste DaroussinThis macro is obsolete.
211361d06d6bSBaptiste DaroussinUse
21147295610fSBaptiste Daroussin.Ic \&Ft
211561d06d6bSBaptiste Daroussininstead; with
211661d06d6bSBaptiste Daroussin.Xr mandoc 1 ,
211761d06d6bSBaptiste Daroussinboth have the same effect.
211861d06d6bSBaptiste Daroussin.Pp
211961d06d6bSBaptiste DaroussinHistorical
212061d06d6bSBaptiste Daroussin.Nm
212161d06d6bSBaptiste Daroussinpackages described it as
212261d06d6bSBaptiste Daroussin.Dq "old function type (FORTRAN)" .
21236d38604fSBaptiste Daroussin.Tg Ox
21247295610fSBaptiste Daroussin.It Ic \&Ox Op Ar version
212561d06d6bSBaptiste DaroussinFormat the
212661d06d6bSBaptiste Daroussin.Ox
212761d06d6bSBaptiste Daroussinversion provided as an argument, or a default value
212861d06d6bSBaptiste Daroussinif no argument is provided.
212961d06d6bSBaptiste Daroussin.Pp
213061d06d6bSBaptiste DaroussinExamples:
213161d06d6bSBaptiste Daroussin.Dl \&.Ox 4.5
213261d06d6bSBaptiste Daroussin.Dl \&.Ox
213361d06d6bSBaptiste Daroussin.Pp
213461d06d6bSBaptiste DaroussinSee also
21357295610fSBaptiste Daroussin.Ic \&At ,
21367295610fSBaptiste Daroussin.Ic \&Bsx ,
21377295610fSBaptiste Daroussin.Ic \&Bx ,
21387295610fSBaptiste Daroussin.Ic \&Dx ,
21397295610fSBaptiste Daroussin.Ic \&Fx ,
214061d06d6bSBaptiste Daroussinand
21417295610fSBaptiste Daroussin.Ic \&Nx .
21426d38604fSBaptiste Daroussin.Tg Pa
21437295610fSBaptiste Daroussin.It Ic \&Pa Ar name ...
214461d06d6bSBaptiste DaroussinAn absolute or relative file system path, or a file or directory name.
214561d06d6bSBaptiste DaroussinIf an argument is not provided, the character
214661d06d6bSBaptiste Daroussin.Sq \(ti
214761d06d6bSBaptiste Daroussinis used as a default.
214861d06d6bSBaptiste Daroussin.Pp
214961d06d6bSBaptiste DaroussinExamples:
215061d06d6bSBaptiste Daroussin.Dl \&.Pa /usr/bin/mandoc
215161d06d6bSBaptiste Daroussin.Dl \&.Pa /usr/share/man/man7/mdoc.7
215261d06d6bSBaptiste Daroussin.Pp
215361d06d6bSBaptiste DaroussinSee also
21547295610fSBaptiste Daroussin.Ic \&Lk .
21557295610fSBaptiste Daroussin.It Ic \&Pc
215661d06d6bSBaptiste DaroussinClose parenthesised context opened by
21577295610fSBaptiste Daroussin.Ic \&Po .
21586d38604fSBaptiste Daroussin.Tg Pf
21597295610fSBaptiste Daroussin.It Ic \&Pf Ar prefix macro Op Ar argument ...
216061d06d6bSBaptiste DaroussinRemoves the space between its argument and the following macro.
21617295610fSBaptiste DaroussinIt is equivalent to:
216261d06d6bSBaptiste Daroussin.Pp
21637295610fSBaptiste Daroussin.D1 Ic \&No Pf \e& Ar prefix Ic \&Ns Ar macro Op Ar argument ...
216461d06d6bSBaptiste Daroussin.Pp
216561d06d6bSBaptiste DaroussinThe
216661d06d6bSBaptiste Daroussin.Ar prefix
216761d06d6bSBaptiste Daroussinargument is not parsed for macro names or delimiters,
216861d06d6bSBaptiste Daroussinbut used verbatim as if it were escaped.
216961d06d6bSBaptiste Daroussin.Pp
217061d06d6bSBaptiste DaroussinExamples:
217161d06d6bSBaptiste Daroussin.Dl ".Pf $ Ar variable_name"
217261d06d6bSBaptiste Daroussin.Dl ".Pf . Ar macro_name"
217361d06d6bSBaptiste Daroussin.Dl ".Pf 0x Ar hex_digits"
217461d06d6bSBaptiste Daroussin.Pp
217561d06d6bSBaptiste DaroussinSee also
21767295610fSBaptiste Daroussin.Ic \&Ns
217761d06d6bSBaptiste Daroussinand
21787295610fSBaptiste Daroussin.Ic \&Sm .
21797295610fSBaptiste Daroussin.It Ic \&Po Ar block
218061d06d6bSBaptiste DaroussinMulti-line version of
21817295610fSBaptiste Daroussin.Ic \&Pq .
21826d38604fSBaptiste Daroussin.Tg Pp
21837295610fSBaptiste Daroussin.It Ic \&Pp
218461d06d6bSBaptiste DaroussinBreak a paragraph.
218561d06d6bSBaptiste DaroussinThis will assert vertical space between prior and subsequent macros
218661d06d6bSBaptiste Daroussinand/or text.
218761d06d6bSBaptiste Daroussin.Pp
218861d06d6bSBaptiste DaroussinParagraph breaks are not needed before or after
21897295610fSBaptiste Daroussin.Ic \&Sh
219061d06d6bSBaptiste Daroussinor
21917295610fSBaptiste Daroussin.Ic \&Ss
219261d06d6bSBaptiste Daroussinmacros or before displays
21937295610fSBaptiste Daroussin.Pq Ic \&Bd Ar line
219461d06d6bSBaptiste Daroussinor lists
21957295610fSBaptiste Daroussin.Pq Ic \&Bl
219661d06d6bSBaptiste Daroussinunless the
219761d06d6bSBaptiste Daroussin.Fl compact
219861d06d6bSBaptiste Daroussinflag is given.
21996d38604fSBaptiste Daroussin.Tg Pq
22007295610fSBaptiste Daroussin.It Ic \&Pq Ar line
220161d06d6bSBaptiste DaroussinParenthesised enclosure.
220261d06d6bSBaptiste Daroussin.Pp
220361d06d6bSBaptiste DaroussinSee also
22047295610fSBaptiste Daroussin.Ic \&Po .
22057295610fSBaptiste Daroussin.It Ic \&Qc
220661d06d6bSBaptiste DaroussinClose quoted context opened by
22077295610fSBaptiste Daroussin.Ic \&Qo .
22086d38604fSBaptiste Daroussin.Tg Ql
22097295610fSBaptiste Daroussin.It Ic \&Ql Ar line
221061d06d6bSBaptiste DaroussinIn-line literal display.
22117295610fSBaptiste DaroussinThis can be used for complete command invocations and for multi-word
22127295610fSBaptiste Daroussincode examples when an indented display is not desired.
221361d06d6bSBaptiste Daroussin.Pp
221461d06d6bSBaptiste DaroussinSee also
22157295610fSBaptiste Daroussin.Ic \&Dl
221661d06d6bSBaptiste Daroussinand
22177295610fSBaptiste Daroussin.Ic \&Bd
221861d06d6bSBaptiste Daroussin.Fl literal .
22197295610fSBaptiste Daroussin.It Ic \&Qo Ar block
222061d06d6bSBaptiste DaroussinMulti-line version of
22217295610fSBaptiste Daroussin.Ic \&Qq .
22226d38604fSBaptiste Daroussin.Tg Qq
22237295610fSBaptiste Daroussin.It Ic \&Qq Ar line
222461d06d6bSBaptiste DaroussinEncloses its arguments in
222561d06d6bSBaptiste Daroussin.Qq typewriter
222661d06d6bSBaptiste Daroussindouble-quotes.
222761d06d6bSBaptiste DaroussinConsider using
22287295610fSBaptiste Daroussin.Ic \&Dq .
222961d06d6bSBaptiste Daroussin.Pp
223061d06d6bSBaptiste DaroussinSee also
22317295610fSBaptiste Daroussin.Ic \&Dq ,
22327295610fSBaptiste Daroussin.Ic \&Sq ,
223361d06d6bSBaptiste Daroussinand
22347295610fSBaptiste Daroussin.Ic \&Qo .
22357295610fSBaptiste Daroussin.It Ic \&Re
223661d06d6bSBaptiste DaroussinClose an
22377295610fSBaptiste Daroussin.Ic \&Rs
223861d06d6bSBaptiste Daroussinblock.
223961d06d6bSBaptiste DaroussinDoes not have any tail arguments.
22406d38604fSBaptiste Daroussin.Tg Rs
22417295610fSBaptiste Daroussin.It Ic \&Rs
224261d06d6bSBaptiste DaroussinBegin a bibliographic
224361d06d6bSBaptiste Daroussin.Pq Dq reference
224461d06d6bSBaptiste Daroussinblock.
224561d06d6bSBaptiste DaroussinDoes not have any head arguments.
224661d06d6bSBaptiste DaroussinThe block macro may only contain
22477295610fSBaptiste Daroussin.Ic \&%A ,
22487295610fSBaptiste Daroussin.Ic \&%B ,
22497295610fSBaptiste Daroussin.Ic \&%C ,
22507295610fSBaptiste Daroussin.Ic \&%D ,
22517295610fSBaptiste Daroussin.Ic \&%I ,
22527295610fSBaptiste Daroussin.Ic \&%J ,
22537295610fSBaptiste Daroussin.Ic \&%N ,
22547295610fSBaptiste Daroussin.Ic \&%O ,
22557295610fSBaptiste Daroussin.Ic \&%P ,
22567295610fSBaptiste Daroussin.Ic \&%Q ,
22577295610fSBaptiste Daroussin.Ic \&%R ,
22587295610fSBaptiste Daroussin.Ic \&%T ,
22597295610fSBaptiste Daroussin.Ic \&%U ,
226061d06d6bSBaptiste Daroussinand
22617295610fSBaptiste Daroussin.Ic \&%V
226261d06d6bSBaptiste Daroussinchild macros (at least one must be specified).
226361d06d6bSBaptiste Daroussin.Pp
226461d06d6bSBaptiste DaroussinExamples:
226561d06d6bSBaptiste Daroussin.Bd -literal -offset indent -compact
226661d06d6bSBaptiste Daroussin\&.Rs
226761d06d6bSBaptiste Daroussin\&.%A J. E. Hopcroft
226861d06d6bSBaptiste Daroussin\&.%A J. D. Ullman
226961d06d6bSBaptiste Daroussin\&.%B Introduction to Automata Theory, Languages, and Computation
227061d06d6bSBaptiste Daroussin\&.%I Addison-Wesley
227161d06d6bSBaptiste Daroussin\&.%C Reading, Massachusetts
227261d06d6bSBaptiste Daroussin\&.%D 1979
227361d06d6bSBaptiste Daroussin\&.Re
227461d06d6bSBaptiste Daroussin.Ed
227561d06d6bSBaptiste Daroussin.Pp
227661d06d6bSBaptiste DaroussinIf an
22777295610fSBaptiste Daroussin.Ic \&Rs
227861d06d6bSBaptiste Daroussinblock is used within a SEE ALSO section, a vertical space is asserted
227961d06d6bSBaptiste Daroussinbefore the rendered output, else the block continues on the current
228061d06d6bSBaptiste Daroussinline.
22816d38604fSBaptiste Daroussin.Tg Rv
22827295610fSBaptiste Daroussin.It Ic \&Rv Fl std Op Ar function ...
228361d06d6bSBaptiste DaroussinInsert a standard sentence regarding a function call's return value of 0
228461d06d6bSBaptiste Daroussinon success and \-1 on error, with the
228561d06d6bSBaptiste Daroussin.Va errno
228661d06d6bSBaptiste Daroussinlibc global variable set on error.
228761d06d6bSBaptiste Daroussin.Pp
228861d06d6bSBaptiste DaroussinIf
228961d06d6bSBaptiste Daroussin.Ar function
229061d06d6bSBaptiste Daroussinis not specified, the document's name set by
22917295610fSBaptiste Daroussin.Ic \&Nm
229261d06d6bSBaptiste Daroussinis used.
229361d06d6bSBaptiste DaroussinMultiple
229461d06d6bSBaptiste Daroussin.Ar function
229561d06d6bSBaptiste Daroussinarguments are treated as separate functions.
229661d06d6bSBaptiste Daroussin.Pp
229761d06d6bSBaptiste DaroussinSee also
22987295610fSBaptiste Daroussin.Ic \&Ex .
22997295610fSBaptiste Daroussin.It Ic \&Sc
230061d06d6bSBaptiste DaroussinClose single-quoted context opened by
23017295610fSBaptiste Daroussin.Ic \&So .
23026d38604fSBaptiste Daroussin.Tg Sh
23037295610fSBaptiste Daroussin.It Ic \&Sh Ar TITLE LINE
230461d06d6bSBaptiste DaroussinBegin a new section.
230561d06d6bSBaptiste DaroussinFor a list of conventional manual sections, see
230661d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE .
230761d06d6bSBaptiste DaroussinThese sections should be used unless it's absolutely necessary that
230861d06d6bSBaptiste Daroussincustom sections be used.
230961d06d6bSBaptiste Daroussin.Pp
231061d06d6bSBaptiste DaroussinSection names should be unique so that they may be keyed by
23117295610fSBaptiste Daroussin.Ic \&Sx .
231261d06d6bSBaptiste DaroussinAlthough this macro is parsed, it should not consist of child node or it
231361d06d6bSBaptiste Daroussinmay not be linked with
23147295610fSBaptiste Daroussin.Ic \&Sx .
231561d06d6bSBaptiste Daroussin.Pp
231661d06d6bSBaptiste DaroussinSee also
23177295610fSBaptiste Daroussin.Ic \&Pp ,
23187295610fSBaptiste Daroussin.Ic \&Ss ,
231961d06d6bSBaptiste Daroussinand
23207295610fSBaptiste Daroussin.Ic \&Sx .
23216d38604fSBaptiste Daroussin.Tg Sm
23227295610fSBaptiste Daroussin.It Ic \&Sm Op Cm on | off
232361d06d6bSBaptiste DaroussinSwitches the spacing mode for output generated from macros.
232461d06d6bSBaptiste Daroussin.Pp
232561d06d6bSBaptiste DaroussinBy default, spacing is
232661d06d6bSBaptiste Daroussin.Cm on .
232761d06d6bSBaptiste DaroussinWhen switched
232861d06d6bSBaptiste Daroussin.Cm off ,
232961d06d6bSBaptiste Daroussinno white space is inserted between macro arguments and between the
233061d06d6bSBaptiste Daroussinoutput generated from adjacent macros, but text lines
233161d06d6bSBaptiste Daroussinstill get normal spacing between words and sentences.
233261d06d6bSBaptiste Daroussin.Pp
233361d06d6bSBaptiste DaroussinWhen called without an argument, the
23347295610fSBaptiste Daroussin.Ic \&Sm
233561d06d6bSBaptiste Daroussinmacro toggles the spacing mode.
233661d06d6bSBaptiste DaroussinUsing this is not recommended because it makes the code harder to read.
23377295610fSBaptiste Daroussin.It Ic \&So Ar block
233861d06d6bSBaptiste DaroussinMulti-line version of
23397295610fSBaptiste Daroussin.Ic \&Sq .
23406d38604fSBaptiste Daroussin.Tg Sq
23417295610fSBaptiste Daroussin.It Ic \&Sq Ar line
234261d06d6bSBaptiste DaroussinEncloses its arguments in
234361d06d6bSBaptiste Daroussin.Sq typewriter
234461d06d6bSBaptiste Daroussinsingle-quotes.
234561d06d6bSBaptiste Daroussin.Pp
234661d06d6bSBaptiste DaroussinSee also
23477295610fSBaptiste Daroussin.Ic \&Dq ,
23487295610fSBaptiste Daroussin.Ic \&Qq ,
234961d06d6bSBaptiste Daroussinand
23507295610fSBaptiste Daroussin.Ic \&So .
23516d38604fSBaptiste Daroussin.Tg Ss
23527295610fSBaptiste Daroussin.It Ic \&Ss Ar Title line
235361d06d6bSBaptiste DaroussinBegin a new subsection.
235461d06d6bSBaptiste DaroussinUnlike with
23557295610fSBaptiste Daroussin.Ic \&Sh ,
235661d06d6bSBaptiste Daroussinthere is no convention for the naming of subsections.
235761d06d6bSBaptiste DaroussinExcept
235861d06d6bSBaptiste Daroussin.Em DESCRIPTION ,
235961d06d6bSBaptiste Daroussinthe conventional sections described in
236061d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE
236161d06d6bSBaptiste Daroussinrarely have subsections.
236261d06d6bSBaptiste Daroussin.Pp
236361d06d6bSBaptiste DaroussinSub-section names should be unique so that they may be keyed by
23647295610fSBaptiste Daroussin.Ic \&Sx .
236561d06d6bSBaptiste DaroussinAlthough this macro is parsed, it should not consist of child node or it
236661d06d6bSBaptiste Daroussinmay not be linked with
23677295610fSBaptiste Daroussin.Ic \&Sx .
236861d06d6bSBaptiste Daroussin.Pp
236961d06d6bSBaptiste DaroussinSee also
23707295610fSBaptiste Daroussin.Ic \&Pp ,
23717295610fSBaptiste Daroussin.Ic \&Sh ,
237261d06d6bSBaptiste Daroussinand
23737295610fSBaptiste Daroussin.Ic \&Sx .
23746d38604fSBaptiste Daroussin.Tg St
23757295610fSBaptiste Daroussin.It Ic \&St Fl Ns Ar abbreviation
237661d06d6bSBaptiste DaroussinReplace an abbreviation for a standard with the full form.
237761d06d6bSBaptiste DaroussinThe following standards are recognised.
237861d06d6bSBaptiste DaroussinWhere multiple lines are given without a blank line in between,
237961d06d6bSBaptiste Daroussinthey all refer to the same standard, and using the first form
238061d06d6bSBaptiste Daroussinis recommended.
238161d06d6bSBaptiste Daroussin.Bl -tag -width 1n
238261d06d6bSBaptiste Daroussin.It C language standards
238361d06d6bSBaptiste Daroussin.Pp
238461d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
238561d06d6bSBaptiste Daroussin.It \-ansiC
238661d06d6bSBaptiste Daroussin.St -ansiC
238761d06d6bSBaptiste Daroussin.It \-ansiC-89
238861d06d6bSBaptiste Daroussin.St -ansiC-89
238961d06d6bSBaptiste Daroussin.It \-isoC
239061d06d6bSBaptiste Daroussin.St -isoC
239161d06d6bSBaptiste Daroussin.It \-isoC-90
239261d06d6bSBaptiste Daroussin.St -isoC-90
239361d06d6bSBaptiste Daroussin.br
239461d06d6bSBaptiste DaroussinThe original C standard.
239561d06d6bSBaptiste Daroussin.Pp
239661d06d6bSBaptiste Daroussin.It \-isoC-amd1
239761d06d6bSBaptiste Daroussin.St -isoC-amd1
239861d06d6bSBaptiste Daroussin.Pp
239961d06d6bSBaptiste Daroussin.It \-isoC-tcor1
240061d06d6bSBaptiste Daroussin.St -isoC-tcor1
240161d06d6bSBaptiste Daroussin.Pp
240261d06d6bSBaptiste Daroussin.It \-isoC-tcor2
240361d06d6bSBaptiste Daroussin.St -isoC-tcor2
240461d06d6bSBaptiste Daroussin.Pp
240561d06d6bSBaptiste Daroussin.It \-isoC-99
240661d06d6bSBaptiste Daroussin.St -isoC-99
240761d06d6bSBaptiste Daroussin.br
240861d06d6bSBaptiste DaroussinThe second major version of the C language standard.
240961d06d6bSBaptiste Daroussin.Pp
241061d06d6bSBaptiste Daroussin.It \-isoC-2011
241161d06d6bSBaptiste Daroussin.St -isoC-2011
241261d06d6bSBaptiste Daroussin.br
241361d06d6bSBaptiste DaroussinThe third major version of the C language standard.
241461d06d6bSBaptiste Daroussin.El
2415c1c95addSBrooks Davis.It POSIX.1 before XPG4.2
241661d06d6bSBaptiste Daroussin.Pp
241761d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
241861d06d6bSBaptiste Daroussin.It \-p1003.1-88
241961d06d6bSBaptiste Daroussin.St -p1003.1-88
242061d06d6bSBaptiste Daroussin.It \-p1003.1
242161d06d6bSBaptiste Daroussin.St -p1003.1
242261d06d6bSBaptiste Daroussin.br
242361d06d6bSBaptiste DaroussinThe original POSIX standard, based on ANSI C.
242461d06d6bSBaptiste Daroussin.Pp
242561d06d6bSBaptiste Daroussin.It \-p1003.1-90
242661d06d6bSBaptiste Daroussin.St -p1003.1-90
242761d06d6bSBaptiste Daroussin.It \-iso9945-1-90
242861d06d6bSBaptiste Daroussin.St -iso9945-1-90
242961d06d6bSBaptiste Daroussin.br
243061d06d6bSBaptiste DaroussinThe first update of POSIX.1.
243161d06d6bSBaptiste Daroussin.Pp
243261d06d6bSBaptiste Daroussin.It \-p1003.1b-93
243361d06d6bSBaptiste Daroussin.St -p1003.1b-93
243461d06d6bSBaptiste Daroussin.It \-p1003.1b
243561d06d6bSBaptiste Daroussin.St -p1003.1b
243661d06d6bSBaptiste Daroussin.br
243761d06d6bSBaptiste DaroussinReal-time extensions.
243861d06d6bSBaptiste Daroussin.Pp
243961d06d6bSBaptiste Daroussin.It \-p1003.1c-95
244061d06d6bSBaptiste Daroussin.St -p1003.1c-95
244161d06d6bSBaptiste Daroussin.br
244261d06d6bSBaptiste DaroussinPOSIX thread interfaces.
244361d06d6bSBaptiste Daroussin.Pp
244461d06d6bSBaptiste Daroussin.It \-p1003.1i-95
244561d06d6bSBaptiste Daroussin.St -p1003.1i-95
244661d06d6bSBaptiste Daroussin.br
244761d06d6bSBaptiste DaroussinTechnical Corrigendum.
244861d06d6bSBaptiste Daroussin.Pp
244961d06d6bSBaptiste Daroussin.It \-p1003.1-96
245061d06d6bSBaptiste Daroussin.St -p1003.1-96
245161d06d6bSBaptiste Daroussin.It \-iso9945-1-96
245261d06d6bSBaptiste Daroussin.St -iso9945-1-96
245361d06d6bSBaptiste Daroussin.br
245461d06d6bSBaptiste DaroussinIncludes POSIX.1-1990, 1b, 1c, and 1i.
245561d06d6bSBaptiste Daroussin.El
2456c1c95addSBrooks Davis.It X/Open Portability Guide before XPG4.2
245761d06d6bSBaptiste Daroussin.Pp
245861d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
245961d06d6bSBaptiste Daroussin.It \-xpg3
246061d06d6bSBaptiste Daroussin.St -xpg3
246161d06d6bSBaptiste Daroussin.br
246261d06d6bSBaptiste DaroussinAn XPG4 precursor, published in 1989.
246361d06d6bSBaptiste Daroussin.Pp
246461d06d6bSBaptiste Daroussin.It \-p1003.2
246561d06d6bSBaptiste Daroussin.St -p1003.2
246661d06d6bSBaptiste Daroussin.It \-p1003.2-92
246761d06d6bSBaptiste Daroussin.St -p1003.2-92
246861d06d6bSBaptiste Daroussin.It \-iso9945-2-93
246961d06d6bSBaptiste Daroussin.St -iso9945-2-93
247061d06d6bSBaptiste Daroussin.br
247161d06d6bSBaptiste DaroussinAn XCU4 precursor.
247261d06d6bSBaptiste Daroussin.Pp
247361d06d6bSBaptiste Daroussin.It \-p1003.2a-92
247461d06d6bSBaptiste Daroussin.St -p1003.2a-92
247561d06d6bSBaptiste Daroussin.br
247661d06d6bSBaptiste DaroussinUpdates to POSIX.2.
247761d06d6bSBaptiste Daroussin.Pp
247861d06d6bSBaptiste Daroussin.It \-xpg4
247961d06d6bSBaptiste Daroussin.St -xpg4
248061d06d6bSBaptiste Daroussin.br
248161d06d6bSBaptiste DaroussinBased on POSIX.1 and POSIX.2, published in 1992.
248261d06d6bSBaptiste Daroussin.El
2483c1c95addSBrooks Davis.It X/Open Portability Guide Issue 4 Version 2 and related standards
248461d06d6bSBaptiste Daroussin.Pp
248561d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
248661d06d6bSBaptiste Daroussin.It \-susv1
248761d06d6bSBaptiste Daroussin.St -susv1
248861d06d6bSBaptiste Daroussin.It \-xpg4.2
248961d06d6bSBaptiste Daroussin.St -xpg4.2
249061d06d6bSBaptiste Daroussin.br
249161d06d6bSBaptiste DaroussinThis standard was published in 1994.
249261d06d6bSBaptiste DaroussinIt was used as the basis for UNIX 95 certification.
2493c1c95addSBrooks DavisThe following two refer to parts of it.
249461d06d6bSBaptiste Daroussin.Pp
249561d06d6bSBaptiste Daroussin.It \-xcurses4.2
249661d06d6bSBaptiste Daroussin.St -xcurses4.2
249761d06d6bSBaptiste Daroussin.Pp
249861d06d6bSBaptiste Daroussin.It \-p1003.1g-2000
249961d06d6bSBaptiste Daroussin.St -p1003.1g-2000
250061d06d6bSBaptiste Daroussin.br
250161d06d6bSBaptiste DaroussinNetworking APIs, including sockets.
250261d06d6bSBaptiste Daroussin.Pp
250361d06d6bSBaptiste Daroussin.It \-svid4
250461d06d6bSBaptiste Daroussin.St -svid4 ,
250561d06d6bSBaptiste Daroussin.br
250661d06d6bSBaptiste DaroussinPublished in 1995.
250761d06d6bSBaptiste Daroussin.El
2508c1c95addSBrooks Davis.It X/Open Portability Guide Issue 5 and related standards
250961d06d6bSBaptiste Daroussin.Pp
251061d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
251161d06d6bSBaptiste Daroussin.It \-susv2
251261d06d6bSBaptiste Daroussin.St -susv2
2513c1c95addSBrooks Davis.br
251461d06d6bSBaptiste DaroussinThis Standard was published in 1997
2515c1c95addSBrooks Davisand is also called X/Open Portability Guide Issue 5.
251661d06d6bSBaptiste DaroussinIt was used as the basis for UNIX 98 certification.
251761d06d6bSBaptiste DaroussinThe following refer to parts of it.
251861d06d6bSBaptiste Daroussin.Pp
251961d06d6bSBaptiste Daroussin.It \-xbd5
252061d06d6bSBaptiste Daroussin.St -xbd5
252161d06d6bSBaptiste Daroussin.Pp
252261d06d6bSBaptiste Daroussin.It \-xsh5
252361d06d6bSBaptiste Daroussin.St -xsh5
252461d06d6bSBaptiste Daroussin.Pp
252561d06d6bSBaptiste Daroussin.It \-xcu5
252661d06d6bSBaptiste Daroussin.St -xcu5
252761d06d6bSBaptiste Daroussin.Pp
252861d06d6bSBaptiste Daroussin.It \-xns5
252961d06d6bSBaptiste Daroussin.St -xns5
253061d06d6bSBaptiste Daroussin.It \-xns5.2
253161d06d6bSBaptiste Daroussin.St -xns5.2
253261d06d6bSBaptiste Daroussin.El
2533c1c95addSBrooks Davis.It POSIX Issue 6
253461d06d6bSBaptiste Daroussin.Pp
253561d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1-2001" -compact
253661d06d6bSBaptiste Daroussin.It \-p1003.1-2001
253761d06d6bSBaptiste Daroussin.St -p1003.1-2001
253861d06d6bSBaptiste Daroussin.It \-susv3
253961d06d6bSBaptiste Daroussin.St -susv3
254061d06d6bSBaptiste Daroussin.br
254161d06d6bSBaptiste DaroussinThis standard is based on C99, SUSv2, POSIX.1-1996, 1d, and 1j.
2542c1c95addSBrooks DavisIt is also called X/Open Portability Guide Issue 6.
254361d06d6bSBaptiste DaroussinIt is used as the basis for UNIX 03 certification.
254461d06d6bSBaptiste Daroussin.Pp
254561d06d6bSBaptiste Daroussin.It \-p1003.1-2004
254661d06d6bSBaptiste Daroussin.St -p1003.1-2004
254761d06d6bSBaptiste Daroussin.br
254861d06d6bSBaptiste DaroussinThe second and last Technical Corrigendum.
254961d06d6bSBaptiste Daroussin.El
2550c1c95addSBrooks Davis.It POSIX Issues 7 and 8
255161d06d6bSBaptiste Daroussin.Pp
255261d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
255361d06d6bSBaptiste Daroussin.It \-p1003.1-2008
255461d06d6bSBaptiste Daroussin.St -p1003.1-2008
255561d06d6bSBaptiste Daroussin.It \-susv4
255661d06d6bSBaptiste Daroussin.St -susv4
255761d06d6bSBaptiste Daroussin.br
2558c1c95addSBrooks DavisThis standard is based on C99.
2559c1c95addSBrooks DavisIt is also called the
2560c1c95addSBrooks DavisOpen Group Standard Base Specifications, Issue 7.
2561c1c95addSBrooks Davis.El
2562c1c95addSBrooks Davis.Pp
2563c1c95addSBrooks Davis.Bl -tag -width "-p1003.1g-2000" -compact
2564c1c95addSBrooks Davis.It \-p1003.1-2024
2565c1c95addSBrooks Davis.St -p1003.1-2024
2566c1c95addSBrooks Davis.br
2567c1c95addSBrooks DavisThis standard is based on C17.
2568c1c95addSBrooks DavisIt is also called the
2569c1c95addSBrooks DavisOpen Group Standard Base Specifications, Issue 8.
257061d06d6bSBaptiste Daroussin.El
257161d06d6bSBaptiste Daroussin.It Other standards
257261d06d6bSBaptiste Daroussin.Pp
257361d06d6bSBaptiste Daroussin.Bl -tag -width "-p1003.1g-2000" -compact
257461d06d6bSBaptiste Daroussin.It \-ieee754
257561d06d6bSBaptiste Daroussin.St -ieee754
257661d06d6bSBaptiste Daroussin.br
257761d06d6bSBaptiste DaroussinFloating-point arithmetic.
257861d06d6bSBaptiste Daroussin.Pp
257961d06d6bSBaptiste Daroussin.It \-iso8601
258061d06d6bSBaptiste Daroussin.St -iso8601
258161d06d6bSBaptiste Daroussin.br
258261d06d6bSBaptiste DaroussinRepresentation of dates and times, published in 1988.
258361d06d6bSBaptiste Daroussin.Pp
258461d06d6bSBaptiste Daroussin.It \-iso8802-3
258561d06d6bSBaptiste Daroussin.St -iso8802-3
258661d06d6bSBaptiste Daroussin.br
258761d06d6bSBaptiste DaroussinEthernet local area networks.
258861d06d6bSBaptiste Daroussin.Pp
258961d06d6bSBaptiste Daroussin.It \-ieee1275-94
259061d06d6bSBaptiste Daroussin.St -ieee1275-94
259161d06d6bSBaptiste Daroussin.El
259261d06d6bSBaptiste Daroussin.El
25936d38604fSBaptiste Daroussin.Tg Sx
25947295610fSBaptiste Daroussin.It Ic \&Sx Ar Title line
259561d06d6bSBaptiste DaroussinReference a section or subsection in the same manual page.
259661d06d6bSBaptiste DaroussinThe referenced section or subsection name must be identical to the
259761d06d6bSBaptiste Daroussinenclosed argument, including whitespace.
259861d06d6bSBaptiste Daroussin.Pp
259961d06d6bSBaptiste DaroussinExamples:
260061d06d6bSBaptiste Daroussin.Dl \&.Sx MANUAL STRUCTURE
260161d06d6bSBaptiste Daroussin.Pp
260261d06d6bSBaptiste DaroussinSee also
26037295610fSBaptiste Daroussin.Ic \&Sh
260461d06d6bSBaptiste Daroussinand
26057295610fSBaptiste Daroussin.Ic \&Ss .
26066d38604fSBaptiste Daroussin.Tg Sy
26077295610fSBaptiste Daroussin.It Ic \&Sy Ar word ...
260861d06d6bSBaptiste DaroussinRequest a boldface font.
260961d06d6bSBaptiste Daroussin.Pp
261061d06d6bSBaptiste DaroussinThis is most often used to indicate importance or seriousness (not to be
261161d06d6bSBaptiste Daroussinconfused with stress emphasis, see
26127295610fSBaptiste Daroussin.Ic \&Em ) .
261361d06d6bSBaptiste DaroussinWhen none of the semantic macros fit, it is also adequate for syntax
261461d06d6bSBaptiste Daroussinelements that have to be given or that appear verbatim.
261561d06d6bSBaptiste Daroussin.Pp
261661d06d6bSBaptiste DaroussinExamples:
261761d06d6bSBaptiste Daroussin.Bd -literal -compact -offset indent
261861d06d6bSBaptiste Daroussin\&.Sy Warning :
261961d06d6bSBaptiste DaroussinIf
262061d06d6bSBaptiste Daroussin\&.Sy s
262161d06d6bSBaptiste Daroussinappears in the owner permissions, set-user-ID mode is set.
262261d06d6bSBaptiste DaroussinThis utility replaces the former
262361d06d6bSBaptiste Daroussin\&.Sy dumpdir
262461d06d6bSBaptiste Daroussinprogram.
262561d06d6bSBaptiste Daroussin.Ed
262661d06d6bSBaptiste Daroussin.Pp
262761d06d6bSBaptiste DaroussinSee also
26287295610fSBaptiste Daroussin.Ic \&Em ,
26297295610fSBaptiste Daroussin.Ic \&No ,
263061d06d6bSBaptiste Daroussinand
26317295610fSBaptiste Daroussin.Ic \&Ql .
26326d38604fSBaptiste Daroussin.Tg Ta
26337295610fSBaptiste Daroussin.It Ic \&Ta
263461d06d6bSBaptiste DaroussinTable cell separator in
26357295610fSBaptiste Daroussin.Ic \&Bl Fl column
263661d06d6bSBaptiste Daroussinlists; can only be used below
26377295610fSBaptiste Daroussin.Ic \&It .
26386d38604fSBaptiste Daroussin.Tg Tg
26396d38604fSBaptiste Daroussin.It Ic \&Tg Op Ar term
26406d38604fSBaptiste DaroussinAnnounce that the next input line starts a definition of the
26416d38604fSBaptiste Daroussin.Ar term .
26426d38604fSBaptiste DaroussinThis macro must appear alone on its own input line.
26436d38604fSBaptiste DaroussinThe argument defaults to the first argument of the first macro
26446d38604fSBaptiste Daroussinon the next line.
26456d38604fSBaptiste DaroussinThe argument may not contain whitespace characters, not even when it is quoted.
26466d38604fSBaptiste DaroussinThis macro is a
26476d38604fSBaptiste Daroussin.Xr mandoc 1
26486d38604fSBaptiste Daroussinextension and is typically ignored by other formatters.
26496d38604fSBaptiste Daroussin.Pp
26506d38604fSBaptiste DaroussinWhen viewing terminal output with
26516d38604fSBaptiste Daroussin.Xr less 1 ,
26526d38604fSBaptiste Daroussinthe interactive
26536d38604fSBaptiste Daroussin.Ic :t
26546d38604fSBaptiste Daroussincommand can be used to go to the definition of the
26556d38604fSBaptiste Daroussin.Ar term
26566d38604fSBaptiste Daroussinas described for the
26576d38604fSBaptiste Daroussin.Ev MANPAGER
26586d38604fSBaptiste Daroussinvariable in
26596d38604fSBaptiste Daroussin.Xr man 1 ;
26606d38604fSBaptiste Daroussinwhen producing HTML output, a fragment identifier
26616d38604fSBaptiste Daroussin.Pq Ic id No attribute
26626d38604fSBaptiste Daroussinis generated, to be used for deep linking to this place of the document.
26636d38604fSBaptiste Daroussin.Pp
26646d38604fSBaptiste DaroussinIn most cases, adding a
26656d38604fSBaptiste Daroussin.Ic \&Tg
26666d38604fSBaptiste Daroussinmacro would be redundant because
26676d38604fSBaptiste Daroussin.Xr mandoc 1
26686d38604fSBaptiste Daroussinis able to automatically tag most definitions.
26696d38604fSBaptiste DaroussinThis macro is intended for cases where automatic tagging of a
26706d38604fSBaptiste Daroussin.Ar term
26716d38604fSBaptiste Daroussinis unsatisfactory, for example if a definition is not tagged
26726d38604fSBaptiste Daroussinautomatically (false negative) or if places are tagged that do
26736d38604fSBaptiste Daroussinnot define the
26746d38604fSBaptiste Daroussin.Ar term
26756d38604fSBaptiste Daroussin(false positives).
26766d38604fSBaptiste DaroussinWhen there is at least one
26776d38604fSBaptiste Daroussin.Ic \&Tg
26786d38604fSBaptiste Daroussinmacro for a
26796d38604fSBaptiste Daroussin.Ar term ,
26806d38604fSBaptiste Daroussinno other places are automatically marked as definitions of that
26816d38604fSBaptiste Daroussin.Ar term .
26827295610fSBaptiste Daroussin.It Ic \&Tn Ar word ...
268361d06d6bSBaptiste DaroussinSupported only for compatibility, do not use this in new manuals.
268461d06d6bSBaptiste DaroussinEven though the macro name
268561d06d6bSBaptiste Daroussin.Pq Dq tradename
268661d06d6bSBaptiste Daroussinsuggests a semantic function, historic usage is inconsistent, mostly
268761d06d6bSBaptiste Daroussinusing it as a presentation-level macro to request a small caps font.
26887295610fSBaptiste Daroussin.It Ic \&Ud
268961d06d6bSBaptiste DaroussinSupported only for compatibility, do not use this in new manuals.
269061d06d6bSBaptiste DaroussinPrints out
269161d06d6bSBaptiste Daroussin.Dq currently under development.
26927295610fSBaptiste Daroussin.It Ic \&Ux
269361d06d6bSBaptiste DaroussinSupported only for compatibility, do not use this in new manuals.
269461d06d6bSBaptiste DaroussinPrints out
269561d06d6bSBaptiste Daroussin.Dq Ux .
26966d38604fSBaptiste Daroussin.Tg Va
26977295610fSBaptiste Daroussin.It Ic \&Va Oo Ar type Oc Ar identifier ...
269861d06d6bSBaptiste DaroussinA variable name.
269961d06d6bSBaptiste Daroussin.Pp
270061d06d6bSBaptiste DaroussinExamples:
270161d06d6bSBaptiste Daroussin.Dl \&.Va foo
270261d06d6bSBaptiste Daroussin.Dl \&.Va const char *bar ;
270361d06d6bSBaptiste Daroussin.Pp
270461d06d6bSBaptiste DaroussinFor function arguments and parameters, use
27057295610fSBaptiste Daroussin.Ic \&Fa
270661d06d6bSBaptiste Daroussininstead.
270761d06d6bSBaptiste DaroussinFor declarations of global variables in the
270861d06d6bSBaptiste Daroussin.Em SYNOPSIS
270961d06d6bSBaptiste Daroussinsection, use
27107295610fSBaptiste Daroussin.Ic \&Vt .
27116d38604fSBaptiste Daroussin.Tg Vt
27127295610fSBaptiste Daroussin.It Ic \&Vt Ar type Op Ar identifier
271361d06d6bSBaptiste DaroussinA variable type.
271461d06d6bSBaptiste Daroussin.Pp
271561d06d6bSBaptiste DaroussinThis is also used for indicating global variables in the
271661d06d6bSBaptiste Daroussin.Em SYNOPSIS
271761d06d6bSBaptiste Daroussinsection, in which case a variable name is also specified.
271861d06d6bSBaptiste DaroussinNote that it accepts
271961d06d6bSBaptiste Daroussin.Sx Block partial-implicit
272061d06d6bSBaptiste Daroussinsyntax when invoked as the first macro on an input line in the
272161d06d6bSBaptiste Daroussin.Em SYNOPSIS
272261d06d6bSBaptiste Daroussinsection, else it accepts ordinary
272361d06d6bSBaptiste Daroussin.Sx In-line
272461d06d6bSBaptiste Daroussinsyntax.
272561d06d6bSBaptiste DaroussinIn the former case, this macro starts a new output line,
272661d06d6bSBaptiste Daroussinand a blank line is inserted in front if there is a preceding
272761d06d6bSBaptiste Daroussinfunction definition or include directive.
272861d06d6bSBaptiste Daroussin.Pp
272961d06d6bSBaptiste DaroussinExamples:
273061d06d6bSBaptiste Daroussin.Dl \&.Vt unsigned char
273161d06d6bSBaptiste Daroussin.Dl \&.Vt extern const char * const sys_signame[] \&;
273261d06d6bSBaptiste Daroussin.Pp
273361d06d6bSBaptiste DaroussinFor parameters in function prototypes, use
27347295610fSBaptiste Daroussin.Ic \&Fa
273561d06d6bSBaptiste Daroussininstead, for function return types
27367295610fSBaptiste Daroussin.Ic \&Ft ,
273761d06d6bSBaptiste Daroussinand for variable names outside the
273861d06d6bSBaptiste Daroussin.Em SYNOPSIS
273961d06d6bSBaptiste Daroussinsection
27407295610fSBaptiste Daroussin.Ic \&Va ,
274161d06d6bSBaptiste Daroussineven when including a type with the name.
274261d06d6bSBaptiste DaroussinSee also
274361d06d6bSBaptiste Daroussin.Sx MANUAL STRUCTURE .
27447295610fSBaptiste Daroussin.It Ic \&Xc
274561d06d6bSBaptiste DaroussinClose a scope opened by
27467295610fSBaptiste Daroussin.Ic \&Xo .
27477295610fSBaptiste Daroussin.It Ic \&Xo Ar block
274861d06d6bSBaptiste DaroussinExtend the header of an
27497295610fSBaptiste Daroussin.Ic \&It
275061d06d6bSBaptiste Daroussinmacro or the body of a partial-implicit block macro
275161d06d6bSBaptiste Daroussinbeyond the end of the input line.
275261d06d6bSBaptiste DaroussinThis macro originally existed to work around the 9-argument limit
275361d06d6bSBaptiste Daroussinof historic
275461d06d6bSBaptiste Daroussin.Xr roff 7 .
27556d38604fSBaptiste Daroussin.Tg Xr
27567295610fSBaptiste Daroussin.It Ic \&Xr Ar name section
275761d06d6bSBaptiste DaroussinLink to another manual
275861d06d6bSBaptiste Daroussin.Pq Qq cross-reference .
275961d06d6bSBaptiste Daroussin.Pp
276061d06d6bSBaptiste DaroussinCross reference the
276161d06d6bSBaptiste Daroussin.Ar name
276261d06d6bSBaptiste Daroussinand
276361d06d6bSBaptiste Daroussin.Ar section
276461d06d6bSBaptiste Daroussinnumber of another man page.
276561d06d6bSBaptiste Daroussin.Pp
276661d06d6bSBaptiste DaroussinExamples:
276761d06d6bSBaptiste Daroussin.Dl \&.Xr mandoc 1
276861d06d6bSBaptiste Daroussin.Dl \&.Xr mandoc 1 \&;
276961d06d6bSBaptiste Daroussin.Dl \&.Xr mandoc 1 \&Ns s behaviour
27707295610fSBaptiste Daroussin.El
277161d06d6bSBaptiste Daroussin.Sh MACRO SYNTAX
277261d06d6bSBaptiste DaroussinThe syntax of a macro depends on its classification.
277361d06d6bSBaptiste DaroussinIn this section,
277461d06d6bSBaptiste Daroussin.Sq \-arg
277561d06d6bSBaptiste Daroussinrefers to macro arguments, which may be followed by zero or more
277661d06d6bSBaptiste Daroussin.Sq parm
277761d06d6bSBaptiste Daroussinparameters;
277861d06d6bSBaptiste Daroussin.Sq \&Yo
277961d06d6bSBaptiste Daroussinopens the scope of a macro; and if specified,
278061d06d6bSBaptiste Daroussin.Sq \&Yc
278161d06d6bSBaptiste Daroussincloses it out.
278261d06d6bSBaptiste Daroussin.Pp
278361d06d6bSBaptiste DaroussinThe
278461d06d6bSBaptiste Daroussin.Em Callable
278561d06d6bSBaptiste Daroussincolumn indicates that the macro may also be called by passing its name
278661d06d6bSBaptiste Daroussinas an argument to another macro.
278761d06d6bSBaptiste DaroussinFor example,
278861d06d6bSBaptiste Daroussin.Sq \&.Op \&Fl O \&Ar file
278961d06d6bSBaptiste Daroussinproduces
279061d06d6bSBaptiste Daroussin.Sq Op Fl O Ar file .
279161d06d6bSBaptiste DaroussinTo prevent a macro call and render the macro name literally,
279261d06d6bSBaptiste Daroussinescape it by prepending a zero-width space,
279361d06d6bSBaptiste Daroussin.Sq \e& .
279461d06d6bSBaptiste DaroussinFor example,
279561d06d6bSBaptiste Daroussin.Sq \&Op \e&Fl O
279661d06d6bSBaptiste Daroussinproduces
279761d06d6bSBaptiste Daroussin.Sq Op \&Fl O .
279861d06d6bSBaptiste DaroussinIf a macro is not callable but its name appears as an argument
279961d06d6bSBaptiste Daroussinto another macro, it is interpreted as opaque text.
280061d06d6bSBaptiste DaroussinFor example,
280161d06d6bSBaptiste Daroussin.Sq \&.Fl \&Sh
280261d06d6bSBaptiste Daroussinproduces
280361d06d6bSBaptiste Daroussin.Sq Fl \&Sh .
280461d06d6bSBaptiste Daroussin.Pp
280561d06d6bSBaptiste DaroussinThe
280661d06d6bSBaptiste Daroussin.Em Parsed
280761d06d6bSBaptiste Daroussincolumn indicates whether the macro may call other macros by receiving
280861d06d6bSBaptiste Daroussintheir names as arguments.
280961d06d6bSBaptiste DaroussinIf a macro is not parsed but the name of another macro appears
281061d06d6bSBaptiste Daroussinas an argument, it is interpreted as opaque text.
281161d06d6bSBaptiste Daroussin.Pp
281261d06d6bSBaptiste DaroussinThe
281361d06d6bSBaptiste Daroussin.Em Scope
281461d06d6bSBaptiste Daroussincolumn, if applicable, describes closure rules.
281561d06d6bSBaptiste Daroussin.Ss Block full-explicit
281661d06d6bSBaptiste DaroussinMulti-line scope closed by an explicit closing macro.
281761d06d6bSBaptiste DaroussinAll macros contains bodies; only
28186d38604fSBaptiste Daroussin.Ic \&Bf
281961d06d6bSBaptiste Daroussinand
282061d06d6bSBaptiste Daroussin.Pq optionally
28217295610fSBaptiste Daroussin.Ic \&Bl
282261d06d6bSBaptiste Daroussincontain a head.
282361d06d6bSBaptiste Daroussin.Bd -literal -offset indent
282461d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
282561d06d6bSBaptiste Daroussin\(lBbody...\(rB
282661d06d6bSBaptiste Daroussin\&.Yc
282761d06d6bSBaptiste Daroussin.Ed
282861d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXX" -offset indent
282961d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
28307295610fSBaptiste Daroussin.It Ic \&Bd  Ta    \&No     Ta    \&No     Ta    closed by Ic \&Ed
28317295610fSBaptiste Daroussin.It Ic \&Bf  Ta    \&No     Ta    \&No     Ta    closed by Ic \&Ef
28327295610fSBaptiste Daroussin.It Ic \&Bk  Ta    \&No     Ta    \&No     Ta    closed by Ic \&Ek
28337295610fSBaptiste Daroussin.It Ic \&Bl  Ta    \&No     Ta    \&No     Ta    closed by Ic \&El
28347295610fSBaptiste Daroussin.It Ic \&Ed  Ta    \&No     Ta    \&No     Ta    opened by Ic \&Bd
28357295610fSBaptiste Daroussin.It Ic \&Ef  Ta    \&No     Ta    \&No     Ta    opened by Ic \&Bf
28367295610fSBaptiste Daroussin.It Ic \&Ek  Ta    \&No     Ta    \&No     Ta    opened by Ic \&Bk
28377295610fSBaptiste Daroussin.It Ic \&El  Ta    \&No     Ta    \&No     Ta    opened by Ic \&Bl
283861d06d6bSBaptiste Daroussin.El
283961d06d6bSBaptiste Daroussin.Ss Block full-implicit
284061d06d6bSBaptiste DaroussinMulti-line scope closed by end-of-file or implicitly by another macro.
284161d06d6bSBaptiste DaroussinAll macros have bodies; some
284261d06d6bSBaptiste Daroussin.Po
28437295610fSBaptiste Daroussin.Ic \&It Fl bullet ,
284461d06d6bSBaptiste Daroussin.Fl hyphen ,
284561d06d6bSBaptiste Daroussin.Fl dash ,
284661d06d6bSBaptiste Daroussin.Fl enum ,
284761d06d6bSBaptiste Daroussin.Fl item
284861d06d6bSBaptiste Daroussin.Pc
284961d06d6bSBaptiste Daroussindon't have heads; only one
285061d06d6bSBaptiste Daroussin.Po
28517295610fSBaptiste Daroussin.Ic \&It
285261d06d6bSBaptiste Daroussinin
28537295610fSBaptiste Daroussin.Ic \&Bl Fl column
285461d06d6bSBaptiste Daroussin.Pc
285561d06d6bSBaptiste Daroussinhas multiple heads.
285661d06d6bSBaptiste Daroussin.Bd -literal -offset indent
285761d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB
285861d06d6bSBaptiste Daroussin\(lBbody...\(rB
285961d06d6bSBaptiste Daroussin.Ed
286061d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX" -offset indent
286161d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
28627295610fSBaptiste Daroussin.It Ic \&It Ta \&No Ta Yes  Ta closed by Ic \&It , Ic \&El
28637295610fSBaptiste Daroussin.It Ic \&Nd Ta \&No Ta \&No Ta closed by Ic \&Sh
28647295610fSBaptiste Daroussin.It Ic \&Nm Ta \&No Ta Yes  Ta closed by Ic \&Nm , Ic \&Sh , Ic \&Ss
28657295610fSBaptiste Daroussin.It Ic \&Sh Ta \&No Ta Yes  Ta closed by Ic \&Sh
28667295610fSBaptiste Daroussin.It Ic \&Ss Ta \&No Ta Yes  Ta closed by Ic \&Sh , Ic \&Ss
286761d06d6bSBaptiste Daroussin.El
286861d06d6bSBaptiste Daroussin.Pp
286961d06d6bSBaptiste DaroussinNote that the
28707295610fSBaptiste Daroussin.Ic \&Nm
287161d06d6bSBaptiste Daroussinmacro is a
287261d06d6bSBaptiste Daroussin.Sx Block full-implicit
287361d06d6bSBaptiste Daroussinmacro only when invoked as the first macro
287461d06d6bSBaptiste Daroussinin a
287561d06d6bSBaptiste Daroussin.Em SYNOPSIS
287661d06d6bSBaptiste Daroussinsection line, else it is
287761d06d6bSBaptiste Daroussin.Sx In-line .
287861d06d6bSBaptiste Daroussin.Ss Block partial-explicit
287961d06d6bSBaptiste DaroussinLike block full-explicit, but also with single-line scope.
288061d06d6bSBaptiste DaroussinEach has at least a body and, in limited circumstances, a head
288161d06d6bSBaptiste Daroussin.Po
28827295610fSBaptiste Daroussin.Ic \&Fo ,
28837295610fSBaptiste Daroussin.Ic \&Eo
288461d06d6bSBaptiste Daroussin.Pc
288561d06d6bSBaptiste Daroussinand/or tail
28867295610fSBaptiste Daroussin.Pq Ic \&Ec .
288761d06d6bSBaptiste Daroussin.Bd -literal -offset indent
288861d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
288961d06d6bSBaptiste Daroussin\(lBbody...\(rB
289061d06d6bSBaptiste Daroussin\&.Yc \(lBtail...\(rB
289161d06d6bSBaptiste Daroussin
289261d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB \
289361d06d6bSBaptiste Daroussin\(lBbody...\(rB \&Yc \(lBtail...\(rB
289461d06d6bSBaptiste Daroussin.Ed
289561d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -offset indent
289661d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
28977295610fSBaptiste Daroussin.It Ic \&Ac  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Ao
28987295610fSBaptiste Daroussin.It Ic \&Ao  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Ac
28997295610fSBaptiste Daroussin.It Ic \&Bc  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Bo
29007295610fSBaptiste Daroussin.It Ic \&Bo  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Bc
29017295610fSBaptiste Daroussin.It Ic \&Brc Ta    Yes      Ta    Yes      Ta    opened by Ic \&Bro
29027295610fSBaptiste Daroussin.It Ic \&Bro Ta    Yes      Ta    Yes      Ta    closed by Ic \&Brc
29037295610fSBaptiste Daroussin.It Ic \&Dc  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Do
29047295610fSBaptiste Daroussin.It Ic \&Do  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Dc
29057295610fSBaptiste Daroussin.It Ic \&Ec  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Eo
29067295610fSBaptiste Daroussin.It Ic \&Eo  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Ec
29077295610fSBaptiste Daroussin.It Ic \&Fc  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Fo
29087295610fSBaptiste Daroussin.It Ic \&Fo  Ta    \&No     Ta    \&No     Ta    closed by Ic \&Fc
29097295610fSBaptiste Daroussin.It Ic \&Oc  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Oo
29107295610fSBaptiste Daroussin.It Ic \&Oo  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Oc
29117295610fSBaptiste Daroussin.It Ic \&Pc  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Po
29127295610fSBaptiste Daroussin.It Ic \&Po  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Pc
29137295610fSBaptiste Daroussin.It Ic \&Qc  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Oo
29147295610fSBaptiste Daroussin.It Ic \&Qo  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Oc
29157295610fSBaptiste Daroussin.It Ic \&Re  Ta    \&No     Ta    \&No     Ta    opened by Ic \&Rs
29167295610fSBaptiste Daroussin.It Ic \&Rs  Ta    \&No     Ta    \&No     Ta    closed by Ic \&Re
29177295610fSBaptiste Daroussin.It Ic \&Sc  Ta    Yes      Ta    Yes      Ta    opened by Ic \&So
29187295610fSBaptiste Daroussin.It Ic \&So  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Sc
29197295610fSBaptiste Daroussin.It Ic \&Xc  Ta    Yes      Ta    Yes      Ta    opened by Ic \&Xo
29207295610fSBaptiste Daroussin.It Ic \&Xo  Ta    Yes      Ta    Yes      Ta    closed by Ic \&Xc
292161d06d6bSBaptiste Daroussin.El
292261d06d6bSBaptiste Daroussin.Ss Block partial-implicit
292361d06d6bSBaptiste DaroussinLike block full-implicit, but with single-line scope closed by the
292461d06d6bSBaptiste Daroussinend of the line.
292561d06d6bSBaptiste Daroussin.Bd -literal -offset indent
292661d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBbody...\(rB \(lBres...\(rB
292761d06d6bSBaptiste Daroussin.Ed
292861d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" -offset indent
292961d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed
29307295610fSBaptiste Daroussin.It Ic \&Aq  Ta    Yes      Ta    Yes
29317295610fSBaptiste Daroussin.It Ic \&Bq  Ta    Yes      Ta    Yes
29327295610fSBaptiste Daroussin.It Ic \&Brq Ta    Yes      Ta    Yes
29337295610fSBaptiste Daroussin.It Ic \&D1  Ta    \&No     Ta    \&Yes
29347295610fSBaptiste Daroussin.It Ic \&Dl  Ta    \&No     Ta    Yes
29357295610fSBaptiste Daroussin.It Ic \&Dq  Ta    Yes      Ta    Yes
29367295610fSBaptiste Daroussin.It Ic \&En  Ta    Yes      Ta    Yes
29377295610fSBaptiste Daroussin.It Ic \&Op  Ta    Yes      Ta    Yes
29387295610fSBaptiste Daroussin.It Ic \&Pq  Ta    Yes      Ta    Yes
29397295610fSBaptiste Daroussin.It Ic \&Ql  Ta    Yes      Ta    Yes
29407295610fSBaptiste Daroussin.It Ic \&Qq  Ta    Yes      Ta    Yes
29417295610fSBaptiste Daroussin.It Ic \&Sq  Ta    Yes      Ta    Yes
29427295610fSBaptiste Daroussin.It Ic \&Vt  Ta    Yes      Ta    Yes
294361d06d6bSBaptiste Daroussin.El
294461d06d6bSBaptiste Daroussin.Pp
294561d06d6bSBaptiste DaroussinNote that the
29467295610fSBaptiste Daroussin.Ic \&Vt
294761d06d6bSBaptiste Daroussinmacro is a
294861d06d6bSBaptiste Daroussin.Sx Block partial-implicit
294961d06d6bSBaptiste Daroussinonly when invoked as the first macro
295061d06d6bSBaptiste Daroussinin a
295161d06d6bSBaptiste Daroussin.Em SYNOPSIS
295261d06d6bSBaptiste Daroussinsection line, else it is
295361d06d6bSBaptiste Daroussin.Sx In-line .
295461d06d6bSBaptiste Daroussin.Ss Special block macro
295561d06d6bSBaptiste DaroussinThe
29567295610fSBaptiste Daroussin.Ic \&Ta
295761d06d6bSBaptiste Daroussinmacro can only be used below
29587295610fSBaptiste Daroussin.Ic \&It
295961d06d6bSBaptiste Daroussinin
29607295610fSBaptiste Daroussin.Ic \&Bl Fl column
296161d06d6bSBaptiste Daroussinlists.
296261d06d6bSBaptiste DaroussinIt delimits blocks representing table cells;
296361d06d6bSBaptiste Daroussinthese blocks have bodies, but no heads.
296461d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -offset indent
296561d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
29667295610fSBaptiste Daroussin.It Ic \&Ta  Ta    Yes      Ta    Yes    Ta closed by Ic \&Ta , Ic \&It
296761d06d6bSBaptiste Daroussin.El
296861d06d6bSBaptiste Daroussin.Ss In-line
296961d06d6bSBaptiste DaroussinClosed by the end of the line, fixed argument lengths,
297061d06d6bSBaptiste Daroussinand/or subsequent macros.
297161d06d6bSBaptiste DaroussinIn-line macros have only text children.
297261d06d6bSBaptiste DaroussinIf a number (or inequality) of arguments is
297361d06d6bSBaptiste Daroussin.Pq n ,
297461d06d6bSBaptiste Daroussinthen the macro accepts an arbitrary number of arguments.
297561d06d6bSBaptiste Daroussin.Bd -literal -offset indent
297661d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB \(lBres...\(rB
297761d06d6bSBaptiste Daroussin
297861d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB Yc...
297961d06d6bSBaptiste Daroussin
298061d06d6bSBaptiste Daroussin\&.Yo \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN
298161d06d6bSBaptiste Daroussin.Ed
298261d06d6bSBaptiste Daroussin.Bl -column "MacroX" "CallableX" "ParsedX" "Arguments" -offset indent
298361d06d6bSBaptiste Daroussin.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Arguments
29847295610fSBaptiste Daroussin.It Ic \&%A  Ta    \&No     Ta    \&No     Ta    >0
29857295610fSBaptiste Daroussin.It Ic \&%B  Ta    \&No     Ta    \&No     Ta    >0
29867295610fSBaptiste Daroussin.It Ic \&%C  Ta    \&No     Ta    \&No     Ta    >0
29877295610fSBaptiste Daroussin.It Ic \&%D  Ta    \&No     Ta    \&No     Ta    >0
29887295610fSBaptiste Daroussin.It Ic \&%I  Ta    \&No     Ta    \&No     Ta    >0
29897295610fSBaptiste Daroussin.It Ic \&%J  Ta    \&No     Ta    \&No     Ta    >0
29907295610fSBaptiste Daroussin.It Ic \&%N  Ta    \&No     Ta    \&No     Ta    >0
29917295610fSBaptiste Daroussin.It Ic \&%O  Ta    \&No     Ta    \&No     Ta    >0
29927295610fSBaptiste Daroussin.It Ic \&%P  Ta    \&No     Ta    \&No     Ta    >0
29937295610fSBaptiste Daroussin.It Ic \&%Q  Ta    \&No     Ta    \&No     Ta    >0
29947295610fSBaptiste Daroussin.It Ic \&%R  Ta    \&No     Ta    \&No     Ta    >0
29957295610fSBaptiste Daroussin.It Ic \&%T  Ta    \&No     Ta    \&No     Ta    >0
29967295610fSBaptiste Daroussin.It Ic \&%U  Ta    \&No     Ta    \&No     Ta    >0
29977295610fSBaptiste Daroussin.It Ic \&%V  Ta    \&No     Ta    \&No     Ta    >0
29987295610fSBaptiste Daroussin.It Ic \&Ad  Ta    Yes      Ta    Yes      Ta    >0
29997295610fSBaptiste Daroussin.It Ic \&An  Ta    Yes      Ta    Yes      Ta    >0
30007295610fSBaptiste Daroussin.It Ic \&Ap  Ta    Yes      Ta    Yes      Ta    0
30017295610fSBaptiste Daroussin.It Ic \&Ar  Ta    Yes      Ta    Yes      Ta    n
30027295610fSBaptiste Daroussin.It Ic \&At  Ta    Yes      Ta    Yes      Ta    1
30037295610fSBaptiste Daroussin.It Ic \&Bsx Ta    Yes      Ta    Yes      Ta    n
30047295610fSBaptiste Daroussin.It Ic \&Bt  Ta    \&No     Ta    \&No     Ta    0
30057295610fSBaptiste Daroussin.It Ic \&Bx  Ta    Yes      Ta    Yes      Ta    n
30067295610fSBaptiste Daroussin.It Ic \&Cd  Ta    Yes      Ta    Yes      Ta    >0
30077295610fSBaptiste Daroussin.It Ic \&Cm  Ta    Yes      Ta    Yes      Ta    >0
30087295610fSBaptiste Daroussin.It Ic \&Db  Ta    \&No     Ta    \&No     Ta    1
30097295610fSBaptiste Daroussin.It Ic \&Dd  Ta    \&No     Ta    \&No     Ta    n
30107295610fSBaptiste Daroussin.It Ic \&Dt  Ta    \&No     Ta    \&No     Ta    n
30117295610fSBaptiste Daroussin.It Ic \&Dv  Ta    Yes      Ta    Yes      Ta    >0
30127295610fSBaptiste Daroussin.It Ic \&Dx  Ta    Yes      Ta    Yes      Ta    n
30137295610fSBaptiste Daroussin.It Ic \&Em  Ta    Yes      Ta    Yes      Ta    >0
30147295610fSBaptiste Daroussin.It Ic \&Er  Ta    Yes      Ta    Yes      Ta    >0
30157295610fSBaptiste Daroussin.It Ic \&Es  Ta    Yes      Ta    Yes      Ta    2
30167295610fSBaptiste Daroussin.It Ic \&Ev  Ta    Yes      Ta    Yes      Ta    >0
30177295610fSBaptiste Daroussin.It Ic \&Ex  Ta    \&No     Ta    \&No     Ta    n
30187295610fSBaptiste Daroussin.It Ic \&Fa  Ta    Yes      Ta    Yes      Ta    >0
30197295610fSBaptiste Daroussin.It Ic \&Fd  Ta    \&No     Ta    \&No     Ta    >0
30207295610fSBaptiste Daroussin.It Ic \&Fl  Ta    Yes      Ta    Yes      Ta    n
30217295610fSBaptiste Daroussin.It Ic \&Fn  Ta    Yes      Ta    Yes      Ta    >0
30227295610fSBaptiste Daroussin.It Ic \&Fr  Ta    Yes      Ta    Yes      Ta    >0
30237295610fSBaptiste Daroussin.It Ic \&Ft  Ta    Yes      Ta    Yes      Ta    >0
30247295610fSBaptiste Daroussin.It Ic \&Fx  Ta    Yes      Ta    Yes      Ta    n
30257295610fSBaptiste Daroussin.It Ic \&Hf  Ta    \&No     Ta    \&No     Ta    n
30267295610fSBaptiste Daroussin.It Ic \&Ic  Ta    Yes      Ta    Yes      Ta    >0
3027c1c95addSBrooks Davis.It Ic \&In  Ta    Yes      Ta    Yes      Ta    1
30287295610fSBaptiste Daroussin.It Ic \&Lb  Ta    \&No     Ta    \&No     Ta    1
30297295610fSBaptiste Daroussin.It Ic \&Li  Ta    Yes      Ta    Yes      Ta    >0
30307295610fSBaptiste Daroussin.It Ic \&Lk  Ta    Yes      Ta    Yes      Ta    >0
30317295610fSBaptiste Daroussin.It Ic \&Lp  Ta    \&No     Ta    \&No     Ta    0
30327295610fSBaptiste Daroussin.It Ic \&Ms  Ta    Yes      Ta    Yes      Ta    >0
30337295610fSBaptiste Daroussin.It Ic \&Mt  Ta    Yes      Ta    Yes      Ta    >0
30347295610fSBaptiste Daroussin.It Ic \&Nm  Ta    Yes      Ta    Yes      Ta    n
30357295610fSBaptiste Daroussin.It Ic \&No  Ta    Yes      Ta    Yes      Ta    >0
30367295610fSBaptiste Daroussin.It Ic \&Ns  Ta    Yes      Ta    Yes      Ta    0
30377295610fSBaptiste Daroussin.It Ic \&Nx  Ta    Yes      Ta    Yes      Ta    n
30387295610fSBaptiste Daroussin.It Ic \&Os  Ta    \&No     Ta    \&No     Ta    n
30397295610fSBaptiste Daroussin.It Ic \&Ot  Ta    Yes      Ta    Yes      Ta    >0
30407295610fSBaptiste Daroussin.It Ic \&Ox  Ta    Yes      Ta    Yes      Ta    n
30417295610fSBaptiste Daroussin.It Ic \&Pa  Ta    Yes      Ta    Yes      Ta    n
30427295610fSBaptiste Daroussin.It Ic \&Pf  Ta    Yes      Ta    Yes      Ta    1
30437295610fSBaptiste Daroussin.It Ic \&Pp  Ta    \&No     Ta    \&No     Ta    0
30447295610fSBaptiste Daroussin.It Ic \&Rv  Ta    \&No     Ta    \&No     Ta    n
30457295610fSBaptiste Daroussin.It Ic \&Sm  Ta    \&No     Ta    \&No     Ta    <2
30467295610fSBaptiste Daroussin.It Ic \&St  Ta    \&No     Ta    Yes      Ta    1
30477295610fSBaptiste Daroussin.It Ic \&Sx  Ta    Yes      Ta    Yes      Ta    >0
30487295610fSBaptiste Daroussin.It Ic \&Sy  Ta    Yes      Ta    Yes      Ta    >0
30496d38604fSBaptiste Daroussin.It Ic \&Tg  Ta    \&No     Ta    \&No     Ta    <2
30507295610fSBaptiste Daroussin.It Ic \&Tn  Ta    Yes      Ta    Yes      Ta    >0
30517295610fSBaptiste Daroussin.It Ic \&Ud  Ta    \&No     Ta    \&No     Ta    0
30527295610fSBaptiste Daroussin.It Ic \&Ux  Ta    Yes      Ta    Yes      Ta    n
30537295610fSBaptiste Daroussin.It Ic \&Va  Ta    Yes      Ta    Yes      Ta    n
30547295610fSBaptiste Daroussin.It Ic \&Vt  Ta    Yes      Ta    Yes      Ta    >0
30557295610fSBaptiste Daroussin.It Ic \&Xr  Ta    Yes      Ta    Yes      Ta    2
305661d06d6bSBaptiste Daroussin.El
305761d06d6bSBaptiste Daroussin.Ss Delimiters
305861d06d6bSBaptiste DaroussinWhen a macro argument consists of one single input character
305961d06d6bSBaptiste Daroussinconsidered as a delimiter, the argument gets special handling.
306061d06d6bSBaptiste DaroussinThis does not apply when delimiters appear in arguments containing
306161d06d6bSBaptiste Daroussinmore than one character.
306261d06d6bSBaptiste DaroussinConsequently, to prevent special handling and just handle it
306361d06d6bSBaptiste Daroussinlike any other argument, a delimiter can be escaped by prepending
306461d06d6bSBaptiste Daroussina zero-width space
306561d06d6bSBaptiste Daroussin.Pq Sq \e& .
306661d06d6bSBaptiste DaroussinIn text lines, delimiters never need escaping, but may be used
306761d06d6bSBaptiste Daroussinas normal punctuation.
306861d06d6bSBaptiste Daroussin.Pp
306961d06d6bSBaptiste DaroussinFor many macros, when the leading arguments are opening delimiters,
307061d06d6bSBaptiste Daroussinthese delimiters are put before the macro scope,
307161d06d6bSBaptiste Daroussinand when the trailing arguments are closing delimiters,
307261d06d6bSBaptiste Daroussinthese delimiters are put after the macro scope.
307361d06d6bSBaptiste DaroussinSpacing is suppressed after opening delimiters
307461d06d6bSBaptiste Daroussinand before closing delimiters.
307561d06d6bSBaptiste DaroussinFor example,
307661d06d6bSBaptiste Daroussin.Pp
307761d06d6bSBaptiste Daroussin.D1 Pf \. \&Aq "( [ word ] ) ."
307861d06d6bSBaptiste Daroussin.Pp
307961d06d6bSBaptiste Daroussinrenders as:
308061d06d6bSBaptiste Daroussin.Pp
308161d06d6bSBaptiste Daroussin.D1 Aq ( [ word ] ) .
308261d06d6bSBaptiste Daroussin.Pp
308361d06d6bSBaptiste DaroussinOpening delimiters are:
308461d06d6bSBaptiste Daroussin.Pp
308561d06d6bSBaptiste Daroussin.Bl -tag -width Ds -offset indent -compact
308661d06d6bSBaptiste Daroussin.It \&(
308761d06d6bSBaptiste Daroussinleft parenthesis
308861d06d6bSBaptiste Daroussin.It \&[
308961d06d6bSBaptiste Daroussinleft bracket
309061d06d6bSBaptiste Daroussin.El
309161d06d6bSBaptiste Daroussin.Pp
309261d06d6bSBaptiste DaroussinClosing delimiters are:
309361d06d6bSBaptiste Daroussin.Pp
309461d06d6bSBaptiste Daroussin.Bl -tag -width Ds -offset indent -compact
309561d06d6bSBaptiste Daroussin.It \&.
309661d06d6bSBaptiste Daroussinperiod
309761d06d6bSBaptiste Daroussin.It \&,
309861d06d6bSBaptiste Daroussincomma
309961d06d6bSBaptiste Daroussin.It \&:
310061d06d6bSBaptiste Daroussincolon
310161d06d6bSBaptiste Daroussin.It \&;
310261d06d6bSBaptiste Daroussinsemicolon
310361d06d6bSBaptiste Daroussin.It \&)
310461d06d6bSBaptiste Daroussinright parenthesis
310561d06d6bSBaptiste Daroussin.It \&]
310661d06d6bSBaptiste Daroussinright bracket
310761d06d6bSBaptiste Daroussin.It \&?
310861d06d6bSBaptiste Daroussinquestion mark
310961d06d6bSBaptiste Daroussin.It \&!
311061d06d6bSBaptiste Daroussinexclamation mark
311161d06d6bSBaptiste Daroussin.El
311261d06d6bSBaptiste Daroussin.Pp
311361d06d6bSBaptiste DaroussinNote that even a period preceded by a backslash
311461d06d6bSBaptiste Daroussin.Pq Sq \e.\&
311561d06d6bSBaptiste Daroussingets this special handling; use
311645a5aec3SBaptiste Daroussin.Sq \e&.\&
311761d06d6bSBaptiste Daroussinto prevent that.
311861d06d6bSBaptiste Daroussin.Pp
311961d06d6bSBaptiste DaroussinMany in-line macros interrupt their scope when they encounter
312061d06d6bSBaptiste Daroussindelimiters, and resume their scope when more arguments follow that
312161d06d6bSBaptiste Daroussinare not delimiters.
312261d06d6bSBaptiste DaroussinFor example,
312361d06d6bSBaptiste Daroussin.Pp
312461d06d6bSBaptiste Daroussin.D1 Pf \. \&Fl "a ( b | c \e*(Ba d ) e"
312561d06d6bSBaptiste Daroussin.Pp
312661d06d6bSBaptiste Daroussinrenders as:
312761d06d6bSBaptiste Daroussin.Pp
312861d06d6bSBaptiste Daroussin.D1 Fl a ( b | c \*(Ba d ) e
312961d06d6bSBaptiste Daroussin.Pp
313061d06d6bSBaptiste DaroussinThis applies to both opening and closing delimiters,
313161d06d6bSBaptiste Daroussinand also to the middle delimiter, which does not suppress spacing:
313261d06d6bSBaptiste Daroussin.Pp
313361d06d6bSBaptiste Daroussin.Bl -tag -width Ds -offset indent -compact
313461d06d6bSBaptiste Daroussin.It \&|
313561d06d6bSBaptiste Daroussinvertical bar
313661d06d6bSBaptiste Daroussin.El
313761d06d6bSBaptiste Daroussin.Pp
313861d06d6bSBaptiste DaroussinAs a special case, the predefined string \e*(Ba is handled and rendered
313961d06d6bSBaptiste Daroussinin the same way as a plain
314061d06d6bSBaptiste Daroussin.Sq \&|
314161d06d6bSBaptiste Daroussincharacter.
314261d06d6bSBaptiste DaroussinUsing this predefined string is not recommended in new manuals.
314345a5aec3SBaptiste Daroussin.Pp
314445a5aec3SBaptiste DaroussinAppending a zero-width space
314545a5aec3SBaptiste Daroussin.Pq Sq \e&
314645a5aec3SBaptiste Daroussinto the end of an input line is also useful to prevent the interpretation
314745a5aec3SBaptiste Daroussinof a trailing period, exclamation or question mark as the end of a
314845a5aec3SBaptiste Daroussinsentence, for example when an abbreviation happens to occur
314945a5aec3SBaptiste Daroussinat the end of a text or macro input line.
315061d06d6bSBaptiste Daroussin.Ss Font handling
315161d06d6bSBaptiste DaroussinIn
315261d06d6bSBaptiste Daroussin.Nm
315361d06d6bSBaptiste Daroussindocuments, usage of semantic markup is recommended in order to have
315461d06d6bSBaptiste Daroussinproper fonts automatically selected; only when no fitting semantic markup
315561d06d6bSBaptiste Daroussinis available, consider falling back to
315661d06d6bSBaptiste Daroussin.Sx Physical markup
315761d06d6bSBaptiste Daroussinmacros.
315861d06d6bSBaptiste DaroussinWhenever any
315961d06d6bSBaptiste Daroussin.Nm
316061d06d6bSBaptiste Daroussinmacro switches the
316161d06d6bSBaptiste Daroussin.Xr roff 7
316261d06d6bSBaptiste Daroussinfont mode, it will automatically restore the previous font when exiting
316361d06d6bSBaptiste Daroussinits scope.
316461d06d6bSBaptiste DaroussinManually switching the font using the
316561d06d6bSBaptiste Daroussin.Xr roff 7
316661d06d6bSBaptiste Daroussin.Ql \ef
316761d06d6bSBaptiste Daroussinfont escape sequences is never required.
316861d06d6bSBaptiste Daroussin.Sh COMPATIBILITY
316961d06d6bSBaptiste DaroussinThis section provides an incomplete list of compatibility issues
317061d06d6bSBaptiste Daroussinbetween mandoc and GNU troff
317161d06d6bSBaptiste Daroussin.Pq Qq groff .
317261d06d6bSBaptiste Daroussin.Pp
317361d06d6bSBaptiste DaroussinThe following problematic behaviour is found in groff:
317461d06d6bSBaptiste Daroussin.Pp
317561d06d6bSBaptiste Daroussin.Bl -dash -compact
317661d06d6bSBaptiste Daroussin.It
31777295610fSBaptiste Daroussin.Ic \&Pa
317861d06d6bSBaptiste Daroussindoes not format its arguments when used in the FILES section under
317961d06d6bSBaptiste Daroussincertain list types.
318061d06d6bSBaptiste Daroussin.It
31817295610fSBaptiste Daroussin.Ic \&Ta
318261d06d6bSBaptiste Daroussincan only be called by other macros, but not at the beginning of a line.
318361d06d6bSBaptiste Daroussin.It
318461d06d6bSBaptiste Daroussin.Sq \ef
318561d06d6bSBaptiste Daroussin.Pq font face
318661d06d6bSBaptiste Daroussinand
318761d06d6bSBaptiste Daroussin.Sq \eF
318861d06d6bSBaptiste Daroussin.Pq font family face
318961d06d6bSBaptiste Daroussin.Sx Text Decoration
319061d06d6bSBaptiste Daroussinescapes behave irregularly when specified within line-macro scopes.
319161d06d6bSBaptiste Daroussin.It
319261d06d6bSBaptiste DaroussinNegative scaling units return to prior lines.
319361d06d6bSBaptiste DaroussinInstead, mandoc truncates them to zero.
319461d06d6bSBaptiste Daroussin.El
319561d06d6bSBaptiste Daroussin.Pp
319661d06d6bSBaptiste DaroussinThe following features are unimplemented in mandoc:
319761d06d6bSBaptiste Daroussin.Pp
319861d06d6bSBaptiste Daroussin.Bl -dash -compact
319961d06d6bSBaptiste Daroussin.It
32007295610fSBaptiste Daroussin.Ic \&Bd Fl file Ar file
320161d06d6bSBaptiste Daroussinis unsupported for security reasons.
320261d06d6bSBaptiste Daroussin.It
32037295610fSBaptiste Daroussin.Ic \&Bd
320461d06d6bSBaptiste Daroussin.Fl filled
320561d06d6bSBaptiste Daroussindoes not adjust the right margin, but is an alias for
32067295610fSBaptiste Daroussin.Ic \&Bd
320761d06d6bSBaptiste Daroussin.Fl ragged .
320861d06d6bSBaptiste Daroussin.It
32097295610fSBaptiste Daroussin.Ic \&Bd
321061d06d6bSBaptiste Daroussin.Fl literal
321161d06d6bSBaptiste Daroussindoes not use a literal font, but is an alias for
32127295610fSBaptiste Daroussin.Ic \&Bd
321361d06d6bSBaptiste Daroussin.Fl unfilled .
321461d06d6bSBaptiste Daroussin.It
32157295610fSBaptiste Daroussin.Ic \&Bd
321661d06d6bSBaptiste Daroussin.Fl offset Cm center
321761d06d6bSBaptiste Daroussinand
321861d06d6bSBaptiste Daroussin.Fl offset Cm right
321961d06d6bSBaptiste Daroussindon't work.
322061d06d6bSBaptiste DaroussinGroff does not implement centered and flush-right rendering either,
322161d06d6bSBaptiste Daroussinbut produces large indentations.
322261d06d6bSBaptiste Daroussin.El
322361d06d6bSBaptiste Daroussin.Sh SEE ALSO
322461d06d6bSBaptiste Daroussin.Xr man 1 ,
322561d06d6bSBaptiste Daroussin.Xr mandoc 1 ,
322661d06d6bSBaptiste Daroussin.Xr eqn 7 ,
322761d06d6bSBaptiste Daroussin.Xr man 7 ,
322861d06d6bSBaptiste Daroussin.Xr mandoc_char 7 ,
322961d06d6bSBaptiste Daroussin.Xr roff 7 ,
323061d06d6bSBaptiste Daroussin.Xr tbl 7
323161d06d6bSBaptiste Daroussin.Pp
323261d06d6bSBaptiste DaroussinThe web page
32336d38604fSBaptiste Daroussin.Lk https://mandoc.bsd.lv/mdoc/ "extended documentation for the mdoc language"
323461d06d6bSBaptiste Daroussinprovides a few tutorial-style pages for beginners, an extensive style
323561d06d6bSBaptiste Daroussinguide for advanced authors, and an alphabetic index helping to choose
323661d06d6bSBaptiste Daroussinthe best macros for various kinds of content.
32376d38604fSBaptiste Daroussin.Pp
32386d38604fSBaptiste DaroussinThe manual page
32396d38604fSBaptiste Daroussin.Lk https://man.voidlinux.org/groff_mdoc "groff_mdoc(7)"
32406d38604fSBaptiste Daroussincontained in the
32416d38604fSBaptiste Daroussin.Dq groff
32426d38604fSBaptiste Daroussinpackage documents exactly the same language in a somewhat different style.
324361d06d6bSBaptiste Daroussin.Sh HISTORY
324461d06d6bSBaptiste DaroussinThe
324561d06d6bSBaptiste Daroussin.Nm
324661d06d6bSBaptiste Daroussinlanguage first appeared as a troff macro package in
324761d06d6bSBaptiste Daroussin.Bx 4.4 .
324861d06d6bSBaptiste DaroussinIt was later significantly updated by Werner Lemberg and Ruslan Ermilov
324961d06d6bSBaptiste Daroussinin groff-1.17.
325061d06d6bSBaptiste DaroussinThe standalone implementation that is part of the
325161d06d6bSBaptiste Daroussin.Xr mandoc 1
325261d06d6bSBaptiste Daroussinutility written by Kristaps Dzonsons appeared in
325361d06d6bSBaptiste Daroussin.Ox 4.6 .
325461d06d6bSBaptiste Daroussin.Sh AUTHORS
325561d06d6bSBaptiste DaroussinThe
325661d06d6bSBaptiste Daroussin.Nm
325761d06d6bSBaptiste Daroussinreference was written by
325861d06d6bSBaptiste Daroussin.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .
3259