1*260e9a87SYuri Pankov.\" $Id: mdoc.7,v 1.252 2015/02/23 13:31:04 schwarze Exp $ 2*260e9a87SYuri Pankov.\" 3*260e9a87SYuri Pankov.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> 4*260e9a87SYuri Pankov.\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze <schwarze@openbsd.org> 595c635efSGarrett D'Amore.\" 695c635efSGarrett D'Amore.\" Permission to use, copy, modify, and distribute this software for any 795c635efSGarrett D'Amore.\" purpose with or without fee is hereby granted, provided that the above 895c635efSGarrett D'Amore.\" copyright notice and this permission notice appear in all copies. 995c635efSGarrett D'Amore.\" 1095c635efSGarrett D'Amore.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1195c635efSGarrett D'Amore.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1295c635efSGarrett D'Amore.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1395c635efSGarrett D'Amore.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1495c635efSGarrett D'Amore.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1595c635efSGarrett D'Amore.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1695c635efSGarrett D'Amore.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1795c635efSGarrett D'Amore.\" 1895c635efSGarrett D'Amore.\" 1995c635efSGarrett D'Amore.\" Copyright 2014 Garrett D'Amore <garrett@dmaore.org> 20*260e9a87SYuri Pankov.\" Copyright 2015 Nexenta Systems, Inc. All rights reserved. 2195c635efSGarrett D'Amore.\" 22*260e9a87SYuri Pankov.Dd Oct 18, 2015 2395c635efSGarrett D'Amore.Dt MDOC 5 2495c635efSGarrett D'Amore.Os 2595c635efSGarrett D'Amore.Sh NAME 2695c635efSGarrett D'Amore.Nm mdoc 2795c635efSGarrett D'Amore.Nd semantic markup language for formatting manual pages 2895c635efSGarrett D'Amore.Sh DESCRIPTION 2995c635efSGarrett D'AmoreThe 3095c635efSGarrett D'Amore.Nm mdoc 3195c635efSGarrett D'Amorelanguage supports authoring of manual pages for the 3295c635efSGarrett D'Amore.Xr man 1 3395c635efSGarrett D'Amoreutility by allowing semantic annotations of words, phrases, 3495c635efSGarrett D'Amorepage sections and complete manual pages. 3595c635efSGarrett D'AmoreSuch annotations are used by formatting tools to achieve a uniform 3695c635efSGarrett D'Amorepresentation across all manuals written in 3795c635efSGarrett D'Amore.Nm , 3895c635efSGarrett D'Amoreand to support hyperlinking if supported by the output medium. 3995c635efSGarrett D'Amore.Pp 4095c635efSGarrett D'AmoreThis reference document describes the structure of manual pages 4195c635efSGarrett D'Amoreand the syntax and usage of the 4295c635efSGarrett D'Amore.Nm 4395c635efSGarrett D'Amorelanguage. 4495c635efSGarrett D'AmoreThe reference implementation of a parsing and formatting tool is 4595c635efSGarrett D'Amore.Xr mandoc 1 ; 4695c635efSGarrett D'Amorethe 4795c635efSGarrett D'Amore.Sx COMPATIBILITY 4895c635efSGarrett D'Amoresection describes compatibility with other implementations. 4995c635efSGarrett D'Amore.Pp 5095c635efSGarrett D'AmoreIn an 5195c635efSGarrett D'Amore.Nm 5295c635efSGarrett D'Amoredocument, lines beginning with the control character 5395c635efSGarrett D'Amore.Sq \&. 5495c635efSGarrett D'Amoreare called 5595c635efSGarrett D'Amore.Dq macro lines . 5695c635efSGarrett D'AmoreThe first word is the macro name. 5795c635efSGarrett D'AmoreIt consists of two or three letters. 5895c635efSGarrett D'AmoreMost macro names begin with a capital letter. 5995c635efSGarrett D'AmoreFor a list of available macros, see 6095c635efSGarrett D'Amore.Sx MACRO OVERVIEW . 6195c635efSGarrett D'AmoreThe words following the macro name are arguments to the macro, optionally 6295c635efSGarrett D'Amoreincluding the names of other, callable macros; see 6395c635efSGarrett D'Amore.Sx MACRO SYNTAX 6495c635efSGarrett D'Amorefor details. 6595c635efSGarrett D'Amore.Pp 6695c635efSGarrett D'AmoreLines not beginning with the control character are called 6795c635efSGarrett D'Amore.Dq text lines . 6895c635efSGarrett D'AmoreThey provide free-form text to be printed; the formatting of the text 6995c635efSGarrett D'Amoredepends on the respective processing context: 7095c635efSGarrett D'Amore.Bd -literal -offset indent 7195c635efSGarrett D'Amore\&.Sh Macro lines change control state. 7295c635efSGarrett D'AmoreText lines are interpreted within the current state. 7395c635efSGarrett D'Amore.Ed 7495c635efSGarrett D'Amore.Pp 7595c635efSGarrett D'AmoreMany aspects of the basic syntax of the 7695c635efSGarrett D'Amore.Nm 7795c635efSGarrett D'Amorelanguage are based on the 78*260e9a87SYuri Pankov.Xr mandoc_roff 5 7995c635efSGarrett D'Amorelanguage; see the 8095c635efSGarrett D'Amore.Em LANGUAGE SYNTAX 8195c635efSGarrett D'Amoreand 8295c635efSGarrett D'Amore.Em MACRO SYNTAX 8395c635efSGarrett D'Amoresections in the 84*260e9a87SYuri Pankov.Xr mandoc_roff 5 8595c635efSGarrett D'Amoremanual for details, in particular regarding 8695c635efSGarrett D'Amorecomments, escape sequences, whitespace, and quoting. 8795c635efSGarrett D'AmoreHowever, using 88*260e9a87SYuri Pankov.Xr mandoc_roff 5 8995c635efSGarrett D'Amorerequests in 9095c635efSGarrett D'Amore.Nm 9195c635efSGarrett D'Amoredocuments is discouraged; 9295c635efSGarrett D'Amore.Xr mandoc 1 9395c635efSGarrett D'Amoresupports some of them merely for backward compatibility. 9495c635efSGarrett D'Amore.Sh MANUAL STRUCTURE 9595c635efSGarrett D'AmoreA well-formed 9695c635efSGarrett D'Amore.Nm 9795c635efSGarrett D'Amoredocument consists of a document prologue followed by one or more 9895c635efSGarrett D'Amoresections. 9995c635efSGarrett D'Amore.Pp 10095c635efSGarrett D'AmoreThe prologue, which consists of the 10195c635efSGarrett D'Amore.Sx \&Dd , 10295c635efSGarrett D'Amore.Sx \&Dt , 10395c635efSGarrett D'Amoreand 10495c635efSGarrett D'Amore.Sx \&Os 10595c635efSGarrett D'Amoremacros in that order, is required for every document. 10695c635efSGarrett D'Amore.Pp 10795c635efSGarrett D'AmoreThe first section (sections are denoted by 10895c635efSGarrett D'Amore.Sx \&Sh ) 10995c635efSGarrett D'Amoremust be the NAME section, consisting of at least one 11095c635efSGarrett D'Amore.Sx \&Nm 11195c635efSGarrett D'Amorefollowed by 11295c635efSGarrett D'Amore.Sx \&Nd . 11395c635efSGarrett D'Amore.Pp 11495c635efSGarrett D'AmoreFollowing that, convention dictates specifying at least the 11595c635efSGarrett D'Amore.Em SYNOPSIS 11695c635efSGarrett D'Amoreand 11795c635efSGarrett D'Amore.Em DESCRIPTION 11895c635efSGarrett D'Amoresections, although this varies between manual sections. 11995c635efSGarrett D'Amore.Pp 12095c635efSGarrett D'AmoreThe following is a well-formed skeleton 12195c635efSGarrett D'Amore.Nm 12295c635efSGarrett D'Amorefile for a utility 12395c635efSGarrett D'Amore.Qq progname : 12495c635efSGarrett D'Amore.Bd -literal -offset indent 12595c635efSGarrett D'Amore\&.Dd Jan 1, 1970 12695c635efSGarrett D'Amore\&.Dt PROGNAME section 12795c635efSGarrett D'Amore\&.Os 12895c635efSGarrett D'Amore\&.Sh NAME 12995c635efSGarrett D'Amore\&.Nm progname 130*260e9a87SYuri Pankov\&.Nd one line about what it does 13195c635efSGarrett D'Amore\&.\e\(dq .Sh LIBRARY 132*260e9a87SYuri Pankov\&.\e\(dq For sections 2, 3, and 9 only. 13395c635efSGarrett D'Amore\&.Sh SYNOPSIS 13495c635efSGarrett D'Amore\&.Nm progname 13595c635efSGarrett D'Amore\&.Op Fl options 13695c635efSGarrett D'Amore\&.Ar 13795c635efSGarrett D'Amore\&.Sh DESCRIPTION 13895c635efSGarrett D'AmoreThe 13995c635efSGarrett D'Amore\&.Nm 14095c635efSGarrett D'Amoreutility processes files ... 14195c635efSGarrett D'Amore\&.\e\(dq .Sh IMPLEMENTATION NOTES 14295c635efSGarrett D'Amore\&.\e\(dq .Sh RETURN VALUES 143*260e9a87SYuri Pankov\&.\e\(dq For sections 2, 3, and 9 only. 144*260e9a87SYuri Pankov\&.\e\(dq .Sh CONTEXT 145*260e9a87SYuri Pankov\&.\e\(dq For section 9 functions only. 14695c635efSGarrett D'Amore\&.\e\(dq .Sh ENVIRONMENT 14795c635efSGarrett D'Amore\&.\e\(dq For sections 1, 1M, and 5. 14895c635efSGarrett D'Amore\&.\e\(dq .Sh FILES 14995c635efSGarrett D'Amore\&.\e\(dq .Sh EXIT STATUS 15095c635efSGarrett D'Amore\&.\e\(dq For sections 1, 1M, and 5. 15195c635efSGarrett D'Amore\&.\e\(dq .Sh EXAMPLES 15295c635efSGarrett D'Amore\&.\e\(dq .Sh DIAGNOSTICS 15395c635efSGarrett D'Amore\&.\e\(dq .Sh ERRORS 154*260e9a87SYuri Pankov\&.\e\(dq For sections 2, 3, and 9 only. 15595c635efSGarrett D'Amore\&.\e\(dq .Sh ARCHITECTURE 15695c635efSGarrett D'Amore\&.\e\(dq .Sh CODE SET INDEPENDENCE 157*260e9a87SYuri Pankov\&.\e\(dq For sections 1, 1M, and 3 only. 15895c635efSGarrett D'Amore\&.\e\(dq .Sh INTERFACE STABILITY 15995c635efSGarrett D'Amore\&.\e\(dq .Sh MT-LEVEL 160*260e9a87SYuri Pankov\&.\e\(dq For sections 2 and 3 only. 16195c635efSGarrett D'Amore\&.\e\(dq .Sh SECURITY 16295c635efSGarrett D'Amore\&.\e\(dq .Sh SEE ALSO 16395c635efSGarrett D'Amore\&.\e\(dq .Xr foobar 1 16495c635efSGarrett D'Amore\&.\e\(dq .Sh STANDARDS 16595c635efSGarrett D'Amore\&.\e\(dq .Sh HISTORY 16695c635efSGarrett D'Amore\&.\e\(dq .Sh AUTHORS 16795c635efSGarrett D'Amore\&.\e\(dq .Sh CAVEATS 16895c635efSGarrett D'Amore\&.\e\(dq .Sh BUGS 16995c635efSGarrett D'Amore.Ed 17095c635efSGarrett D'Amore.Pp 17195c635efSGarrett D'AmoreThe sections in an 17295c635efSGarrett D'Amore.Nm 17395c635efSGarrett D'Amoredocument are conventionally ordered as they appear above. 17495c635efSGarrett D'AmoreSections should be composed as follows: 17595c635efSGarrett D'Amore.Bl -ohang -offset Ds 17695c635efSGarrett D'Amore.It Em NAME 17795c635efSGarrett D'AmoreThe name(s) and a one line description of the documented material. 17895c635efSGarrett D'AmoreThe syntax for this as follows: 17995c635efSGarrett D'Amore.Bd -literal -offset indent 18095c635efSGarrett D'Amore\&.Nm name0 , 18195c635efSGarrett D'Amore\&.Nm name1 , 18295c635efSGarrett D'Amore\&.Nm name2 18395c635efSGarrett D'Amore\&.Nd a one line description 18495c635efSGarrett D'Amore.Ed 18595c635efSGarrett D'Amore.Pp 18695c635efSGarrett D'AmoreMultiple 18795c635efSGarrett D'Amore.Sq \&Nm 18895c635efSGarrett D'Amorenames should be separated by commas. 18995c635efSGarrett D'Amore.Pp 19095c635efSGarrett D'AmoreThe 19195c635efSGarrett D'Amore.Sx \&Nm 19295c635efSGarrett D'Amoremacro(s) must precede the 19395c635efSGarrett D'Amore.Sx \&Nd 19495c635efSGarrett D'Amoremacro. 19595c635efSGarrett D'Amore.Pp 19695c635efSGarrett D'AmoreSee 19795c635efSGarrett D'Amore.Sx \&Nm 19895c635efSGarrett D'Amoreand 19995c635efSGarrett D'Amore.Sx \&Nd . 20095c635efSGarrett D'Amore.It Em LIBRARY 20195c635efSGarrett D'AmoreThe name of the library containing the documented material, which is 20295c635efSGarrett D'Amoreassumed to be a function in a section 2, 3, or 9 manual. 20395c635efSGarrett D'AmoreThe syntax for this is as follows: 20495c635efSGarrett D'Amore.Bd -literal -offset indent 20595c635efSGarrett D'Amore\&.Lb libarm 20695c635efSGarrett D'Amore.Ed 20795c635efSGarrett D'Amore.Pp 20895c635efSGarrett D'AmoreSee 20995c635efSGarrett D'Amore.Sx \&Lb . 21095c635efSGarrett D'Amore.It Em SYNOPSIS 21195c635efSGarrett D'AmoreDocuments the utility invocation syntax, function call syntax, or device 21295c635efSGarrett D'Amoreconfiguration. 21395c635efSGarrett D'Amore.Pp 21495c635efSGarrett D'AmoreFor the first, utilities (sections 1 and 1M), this is 21595c635efSGarrett D'Amoregenerally structured as follows: 21695c635efSGarrett D'Amore.Bd -literal -offset indent 21795c635efSGarrett D'Amore\&.Nm bar 21895c635efSGarrett D'Amore\&.Op Fl v 21995c635efSGarrett D'Amore\&.Op Fl o Ar file 22095c635efSGarrett D'Amore\&.Op Ar 22195c635efSGarrett D'Amore\&.Nm foo 22295c635efSGarrett D'Amore\&.Op Fl v 22395c635efSGarrett D'Amore\&.Op Fl o Ar file 22495c635efSGarrett D'Amore\&.Op Ar 22595c635efSGarrett D'Amore.Ed 22695c635efSGarrett D'Amore.Pp 22795c635efSGarrett D'AmoreCommands should be ordered alphabetically. 22895c635efSGarrett D'Amore.Pp 22995c635efSGarrett D'AmoreFor the second, function calls (sections 2, 3, 7I, 7P, 9): 23095c635efSGarrett D'Amore.Bd -literal -offset indent 23195c635efSGarrett D'Amore\&.In header.h 23295c635efSGarrett D'Amore\&.Vt extern const char *global; 23395c635efSGarrett D'Amore\&.Ft "char *" 23495c635efSGarrett D'Amore\&.Fn foo "const char *src" 23595c635efSGarrett D'Amore\&.Ft "char *" 23695c635efSGarrett D'Amore\&.Fn bar "const char *src" 23795c635efSGarrett D'Amore.Ed 23895c635efSGarrett D'Amore.Pp 23995c635efSGarrett D'AmoreOrdering of 24095c635efSGarrett D'Amore.Sx \&In , 24195c635efSGarrett D'Amore.Sx \&Vt , 24295c635efSGarrett D'Amore.Sx \&Fn , 24395c635efSGarrett D'Amoreand 24495c635efSGarrett D'Amore.Sx \&Fo 24595c635efSGarrett D'Amoremacros should follow C header-file conventions. 24695c635efSGarrett D'Amore.Pp 24795c635efSGarrett D'AmoreAnd for the third, configurations (section 7D): 24895c635efSGarrett D'Amore.Bd -literal -offset indent 24995c635efSGarrett D'Amore\&.Pa /dev/device_node 25095c635efSGarrett D'Amore.Ed 25195c635efSGarrett D'Amore.Pp 25295c635efSGarrett D'AmoreManuals not in these sections generally don't need a 25395c635efSGarrett D'Amore.Em SYNOPSIS . 25495c635efSGarrett D'Amore.Pp 25595c635efSGarrett D'AmoreSome macros are displayed differently in the 25695c635efSGarrett D'Amore.Em SYNOPSIS 25795c635efSGarrett D'Amoresection, particularly 25895c635efSGarrett D'Amore.Sx \&Nm , 25995c635efSGarrett D'Amore.Sx \&Cd , 26095c635efSGarrett D'Amore.Sx \&Fd , 26195c635efSGarrett D'Amore.Sx \&Fn , 26295c635efSGarrett D'Amore.Sx \&Fo , 26395c635efSGarrett D'Amore.Sx \&In , 26495c635efSGarrett D'Amore.Sx \&Vt , 26595c635efSGarrett D'Amoreand 26695c635efSGarrett D'Amore.Sx \&Ft . 26795c635efSGarrett D'AmoreAll of these macros are output on their own line. 26895c635efSGarrett D'AmoreIf two such dissimilar macros are pairwise invoked (except for 26995c635efSGarrett D'Amore.Sx \&Ft 27095c635efSGarrett D'Amorebefore 27195c635efSGarrett D'Amore.Sx \&Fo 27295c635efSGarrett D'Amoreor 27395c635efSGarrett D'Amore.Sx \&Fn ) , 27495c635efSGarrett D'Amorethey are separated by a vertical space, unless in the case of 27595c635efSGarrett D'Amore.Sx \&Fo , 27695c635efSGarrett D'Amore.Sx \&Fn , 27795c635efSGarrett D'Amoreand 27895c635efSGarrett D'Amore.Sx \&Ft , 27995c635efSGarrett D'Amorewhich are always separated by vertical space. 28095c635efSGarrett D'Amore.Pp 28195c635efSGarrett D'AmoreWhen text and macros following an 28295c635efSGarrett D'Amore.Sx \&Nm 28395c635efSGarrett D'Amoremacro starting an input line span multiple output lines, 28495c635efSGarrett D'Amoreall output lines but the first will be indented to align 28595c635efSGarrett D'Amorewith the text immediately following the 28695c635efSGarrett D'Amore.Sx \&Nm 28795c635efSGarrett D'Amoremacro, up to the next 28895c635efSGarrett D'Amore.Sx \&Nm , 28995c635efSGarrett D'Amore.Sx \&Sh , 29095c635efSGarrett D'Amoreor 29195c635efSGarrett D'Amore.Sx \&Ss 29295c635efSGarrett D'Amoremacro or the end of an enclosing block, whichever comes first. 29395c635efSGarrett D'Amore.It Em DESCRIPTION 29495c635efSGarrett D'AmoreThis begins with an expansion of the brief, one line description in 29595c635efSGarrett D'Amore.Em NAME : 29695c635efSGarrett D'Amore.Bd -literal -offset indent 29795c635efSGarrett D'AmoreThe 29895c635efSGarrett D'Amore\&.Nm 29995c635efSGarrett D'Amoreutility does this, that, and the other. 30095c635efSGarrett D'Amore.Ed 30195c635efSGarrett D'Amore.Pp 30295c635efSGarrett D'AmoreIt usually follows with a breakdown of the options (if documenting a 30395c635efSGarrett D'Amorecommand), such as: 30495c635efSGarrett D'Amore.Bd -literal -offset indent 30595c635efSGarrett D'AmoreThe arguments are as follows: 30695c635efSGarrett D'Amore\&.Bl \-tag \-width Ds 30795c635efSGarrett D'Amore\&.It Fl v 30895c635efSGarrett D'AmorePrint verbose information. 30995c635efSGarrett D'Amore\&.El 31095c635efSGarrett D'Amore.Ed 31195c635efSGarrett D'Amore.Pp 31295c635efSGarrett D'AmoreManuals not documenting a command won't include the above fragment. 31395c635efSGarrett D'Amore.Pp 31495c635efSGarrett D'AmoreSince the 31595c635efSGarrett D'Amore.Em DESCRIPTION 31695c635efSGarrett D'Amoresection usually contains most of the text of a manual, longer manuals 31795c635efSGarrett D'Amoreoften use the 31895c635efSGarrett D'Amore.Sx \&Ss 31995c635efSGarrett D'Amoremacro to form subsections. 32095c635efSGarrett D'AmoreIn very long manuals, the 32195c635efSGarrett D'Amore.Em DESCRIPTION 32295c635efSGarrett D'Amoremay be split into multiple sections, each started by an 32395c635efSGarrett D'Amore.Sx \&Sh 32495c635efSGarrett D'Amoremacro followed by a non-standard section name, and each having 32595c635efSGarrett D'Amoreseveral subsections, like in the present 32695c635efSGarrett D'Amore.Nm 32795c635efSGarrett D'Amoremanual. 32895c635efSGarrett D'Amore.It Em IMPLEMENTATION NOTES 32995c635efSGarrett D'AmoreImplementation-specific notes should be kept here. 33095c635efSGarrett D'AmoreThis is useful when implementing standard functions that may have side 33195c635efSGarrett D'Amoreeffects or notable algorithmic implications. 33295c635efSGarrett D'Amore.It Em RETURN VALUES 33395c635efSGarrett D'AmoreThis section documents the 33495c635efSGarrett D'Amorereturn values of functions in sections 2, 3, and 9. 33595c635efSGarrett D'Amore.Pp 33695c635efSGarrett D'AmoreSee 33795c635efSGarrett D'Amore.Sx \&Rv . 338*260e9a87SYuri Pankov.It Em CONTEXT 339*260e9a87SYuri PankovThis section lists the contexts in which functions can be called in section 9. 340*260e9a87SYuri PankovThe contexts are user, kernel, or interrupt. 34195c635efSGarrett D'Amore.It Em ENVIRONMENT 34295c635efSGarrett D'AmoreLists the environment variables used by the utility, 34395c635efSGarrett D'Amoreand explains the syntax and semantics of their values. 34495c635efSGarrett D'AmoreThe 34595c635efSGarrett D'Amore.Xr environ 5 34695c635efSGarrett D'Amoremanual provides examples of typical content and formatting. 34795c635efSGarrett D'Amore.Pp 34895c635efSGarrett D'AmoreSee 34995c635efSGarrett D'Amore.Sx \&Ev . 35095c635efSGarrett D'Amore.It Em FILES 35195c635efSGarrett D'AmoreDocuments files used. 35295c635efSGarrett D'AmoreIt's helpful to document both the file name and a short description of how 35395c635efSGarrett D'Amorethe file is used (created, modified, etc.). 35495c635efSGarrett D'Amore.Pp 35595c635efSGarrett D'AmoreSee 35695c635efSGarrett D'Amore.Sx \&Pa . 35795c635efSGarrett D'Amore.It Em EXIT STATUS 35895c635efSGarrett D'AmoreThis section documents the 35995c635efSGarrett D'Amorecommand exit status for sections 1 and 1M. 36095c635efSGarrett D'AmoreHistorically, this information was described in 36195c635efSGarrett D'Amore.Em DIAGNOSTICS , 36295c635efSGarrett D'Amorea practise that is now discouraged. 36395c635efSGarrett D'Amore.Pp 36495c635efSGarrett D'AmoreSee 36595c635efSGarrett D'Amore.Sx \&Ex . 36695c635efSGarrett D'Amore.It Em EXAMPLES 36795c635efSGarrett D'AmoreExample usages. 36895c635efSGarrett D'AmoreThis often contains snippets of well-formed, well-tested invocations. 36995c635efSGarrett D'AmoreMake sure that examples work properly! 37095c635efSGarrett D'Amore.It Em DIAGNOSTICS 37195c635efSGarrett D'AmoreDocuments error and diagnostic messages displayed to the user or 37295c635efSGarrett D'Amoresent to logs. Note that exit 37395c635efSGarrett D'Amorestatus and return values should be documented in the 37495c635efSGarrett D'Amore.Em EXIT STATUS 37595c635efSGarrett D'Amoreand 37695c635efSGarrett D'Amore.Em RETURN VALUES 37795c635efSGarrett D'Amoresections. 37895c635efSGarrett D'Amore.Pp 37995c635efSGarrett D'AmoreSee 38095c635efSGarrett D'Amore.Sx \&Bl 38195c635efSGarrett D'Amore.Fl diag . 38295c635efSGarrett D'Amore.It Em ERRORS 38395c635efSGarrett D'AmoreDocuments error handling in sections 2, 3, and 9. 38495c635efSGarrett D'Amore.Pp 38595c635efSGarrett D'AmoreSee 38695c635efSGarrett D'Amore.Sx \&Er . 38795c635efSGarrett D'Amore.It Em ARCHITECTURE 38895c635efSGarrett D'AmoreThis section is usually absent, but will be present when the 38995c635efSGarrett D'Amoreinterface is specific to one or more architectures. 39095c635efSGarrett D'Amore.It Em CODE SET INDEPENDENCE 39195c635efSGarrett D'AmoreIndicates whether the interface operates correctly with various different 39295c635efSGarrett D'Amorecode sets. True independent code sets will support not only ASCII and 39395c635efSGarrett D'AmoreExtended UNIX Codesets (EUC), but also other multi-byte encodings such as 39495c635efSGarrett D'AmoreUTF-8 and GB2312. 39595c635efSGarrett D'Amore.Pp 39695c635efSGarrett D'AmoreGenerally there will be some limitations that are fairly standard. See 39795c635efSGarrett D'Amore.Xr standards 5 for more information about some of these. Most interfaces 39895c635efSGarrett D'Amoreshould support at least UTF-8 in addition to ASCII. 39995c635efSGarrett D'Amore.It Em INTERFACE STABILITY 40095c635efSGarrett D'AmoreIndicates the level of commitment to the interface. Interfaces can be described 40195c635efSGarrett D'Amorewith in the following ways: 40295c635efSGarrett D'Amore.Bl -tag -width Ds 40395c635efSGarrett D'Amore.It Nm Standard 40495c635efSGarrett D'AmoreIndicates that the interface is defined by one or more standards bodies. 40595c635efSGarrett D'AmoreGenerally, changes to the interface will be carefully managed to conform 40695c635efSGarrett D'Amoreto the relevant standards. These interfaces are generally the most suitable 40795c635efSGarrett D'Amorefor use in portable programs. 40895c635efSGarrett D'Amore.It Nm Committed 40995c635efSGarrett D'AmoreIndicates that the interface is intended to be preserved for the long-haul, and 41095c635efSGarrett D'Amorewill rarely, if ever change, and never without notification (barring 41195c635efSGarrett D'Amoreextraordinary and extenuating circumstances). These interfaces are 41295c635efSGarrett D'Amorepreferred over other interfaces with the exeception of 41395c635efSGarrett D'Amore.Nm Standard 41495c635efSGarrett D'Amoreinterfaces. 41595c635efSGarrett D'Amore.It Nm Uncommitted 41695c635efSGarrett D'AmoreIndicates that the interface may change. Generally, changes to these interfaces 41795c635efSGarrett D'Amoreshould be infrequent, and some effort will be made to address compatibility 41895c635efSGarrett D'Amoreconsiderations when changing or removing such interfaces. However, there is 41995c635efSGarrett D'Amoreno firm commitment to the preservation of the interface. Most often this 42095c635efSGarrett D'Amoreis applied to interfaces where operational experience with the interface 42195c635efSGarrett D'Amoreis still limited and some need to change may be anticipated. 42295c635efSGarrett D'Amore.Pp 42395c635efSGarrett D'AmoreConsumers should expect to revalidate any 42495c635efSGarrett D'Amore.Nm Uncommitted 42595c635efSGarrett D'Amoreinterfaces when crossing release boundaries. Products intended for 42695c635efSGarrett D'Amoreuse on many releases or intended to support compatibility with future 42795c635efSGarrett D'Amorereleases should avoid these interfaces. 42895c635efSGarrett D'Amore.It Nm Volatile 42995c635efSGarrett D'AmoreThe interface can change at any time for any reason. Often this relates to 43095c635efSGarrett D'Amoreinterfaces that are part of external software components that are still evolving 43195c635efSGarrett D'Amorerapidly. Consumers should not expect that the interface (either binary or 43295c635efSGarrett D'Amoresource level) will be unchanged from one release to the next. 43395c635efSGarrett D'Amore.It Nm Not-an-Interface 43495c635efSGarrett D'AmoreDescribes something that is specifically not intended for programmatic 43595c635efSGarrett D'Amoreconsumption. For example, specific human-readable output, or the layout 43695c635efSGarrett D'Amoreof graphical items on a user interface, may be described this way. Generally 43795c635efSGarrett D'Amoreprogrammatic alternatives to these will be available, and should be used 43895c635efSGarrett D'Amorewhen programmatic consumption is needed. 43995c635efSGarrett D'Amore.It Nm Private 44095c635efSGarrett D'AmoreThis is an internal interface. Generally these interfaces should only be 44195c635efSGarrett D'Amoreused within the project, and should not be used by other programs or modules. 44295c635efSGarrett D'AmoreThe interface can and will change without notice as the project needs, at 44395c635efSGarrett D'Amoreany time. 44495c635efSGarrett D'Amore.Pp 44595c635efSGarrett D'AmoreMost often, Private interfaces will lack any documentation whatsoever, and 44695c635efSGarrett D'Amoregenerally any undocumented interface can be assumed to be Private. 44795c635efSGarrett D'Amore.It Nm Obsolete 44895c635efSGarrett D'AmoreThe interface is not intended for use in new projects or programs, and may 44995c635efSGarrett D'Amorebe removed at a future date. The 45095c635efSGarrett D'Amore.Nm Obsolete 45195c635efSGarrett D'Amoreword is a modifier that can 45295c635efSGarrett D'Amorebe applied to other commitment levels. For example an 45395c635efSGarrett D'Amore.Nm Obsolete Committed 45495c635efSGarrett D'Amoreinterface is unlikely to be removed or changed, but nonetheless new use 45595c635efSGarrett D'Amoreis discouraged (perhaps a better newer alternative is present). 45695c635efSGarrett D'Amore.El 45795c635efSGarrett D'Amore.It Em MT-LEVEL 45895c635efSGarrett D'AmoreThis section describes considerations for the interface when used within 45995c635efSGarrett D'Amoreprograms that use multiple threads. More discussion of these considerations 46095c635efSGarrett D'Amoreis made in the MT-Level section of 46195c635efSGarrett D'Amore.Xr attributes 5 . 46295c635efSGarrett D'AmoreThe interface can be described in the following ways. 46395c635efSGarrett D'Amore.Bl -tag -width Ds 46495c635efSGarrett D'Amore.It Nm Safe 46595c635efSGarrett D'AmoreIndicates the interface is safe for use within multiple threads. There 46695c635efSGarrett D'Amoremay be additional caveats that apply, in which case those will be 46795c635efSGarrett D'Amoredescribed. Note that some interfaces have semantics which may affect 46895c635efSGarrett D'Amoreother threads, but these should be an intrinsic part of the interface 46995c635efSGarrett D'Amorerather than an unexpected side effect. For example, closing a file in 47095c635efSGarrett D'Amoreone thread will cause that file to be closed in all threads. 47195c635efSGarrett D'Amore.It Nm Unsafe 47295c635efSGarrett D'AmoreIndicates the interface is unsuitable for concurrent use within multiple 47395c635efSGarrett D'Amorethreads. A threaded application may still make use of the interface, but 47495c635efSGarrett D'Amorewill be required to provide external synchronization means to ensure that 47595c635efSGarrett D'Amoreonly a single thread calls the interface at a time. 47695c635efSGarrett D'Amore.It Nm MT-Safe 47795c635efSGarrett D'AmoreIndicates that the interface is not only safe for concurrent use, but is 47895c635efSGarrett D'Amoredesigned for such use. For example, a 47995c635efSGarrett D'Amore.Nm Safe 48095c635efSGarrett D'Amoreinterface may make use of a global lock to provide safety, but at reduced 48195c635efSGarrett D'Amoreinternal concurrency, whereas an 48295c635efSGarrett D'Amore.Nm MT-Safe 48395c635efSGarrett D'Amoreinterface will be designed to be efficient even when used concurrently. 48495c635efSGarrett D'Amore.It Nm Async-Signal-Safe 48595c635efSGarrett D'AmoreIndicates that the library is safe for use within a signal handler. An 48695c635efSGarrett D'Amore.Nm MT-Safe 48795c635efSGarrett D'Amoreinterface can be made 48895c635efSGarrett D'Amore.Nm Async-Signal-Safe 48995c635efSGarrett D'Amoreby ensuring that it blocks signals when acquiring locks. 49095c635efSGarrett D'Amore.It Nm Safe with Exections 49195c635efSGarrett D'AmoreAs for 49295c635efSGarrett D'Amore.Nm Safe 49395c635efSGarrett D'Amorebut with specific exceptions noted. 49495c635efSGarrett D'Amore.It Nm MT-Safe with Exections 49595c635efSGarrett D'AmoreAs for 49695c635efSGarrett D'Amore.Nm MT-Safe 49795c635efSGarrett D'Amorebut with specific exceptions noted. 49895c635efSGarrett D'Amore.El 49995c635efSGarrett D'Amore.It Em SECURITY 50095c635efSGarrett D'AmoreDocuments any security precautions that operators should consider. 50195c635efSGarrett D'Amore.It Em SEE ALSO 50295c635efSGarrett D'AmoreReferences other manuals with related topics. 50395c635efSGarrett D'AmoreThis section should exist for most manuals. 50495c635efSGarrett D'AmoreCross-references should conventionally be ordered first by section, then 505*260e9a87SYuri Pankovalphabetically (ignoring case). 50695c635efSGarrett D'Amore.Pp 50795c635efSGarrett D'AmoreReferences to other documentation concerning the topic of the manual page, 50895c635efSGarrett D'Amorefor example authoritative books or journal articles, may also be 50995c635efSGarrett D'Amoreprovided in this section. 51095c635efSGarrett D'Amore.Pp 51195c635efSGarrett D'AmoreSee 51295c635efSGarrett D'Amore.Sx \&Rs 51395c635efSGarrett D'Amoreand 51495c635efSGarrett D'Amore.Sx \&Xr . 51595c635efSGarrett D'Amore.It Em STANDARDS 51695c635efSGarrett D'AmoreReferences any standards implemented or used. 51795c635efSGarrett D'AmoreIf not adhering to any standards, the 51895c635efSGarrett D'Amore.Em HISTORY 51995c635efSGarrett D'Amoresection should be used instead. 52095c635efSGarrett D'Amore.Pp 52195c635efSGarrett D'AmoreSee 52295c635efSGarrett D'Amore.Sx \&St . 52395c635efSGarrett D'Amore.It Em HISTORY 52495c635efSGarrett D'AmoreA brief history of the subject, including where it was first implemented, 52595c635efSGarrett D'Amoreand when it was ported to or reimplemented for the operating system at hand. 52695c635efSGarrett D'Amore.It Em AUTHORS 52795c635efSGarrett D'AmoreCredits to the person or persons who wrote the code and/or documentation. 52895c635efSGarrett D'AmoreAuthors should generally be noted by both name and email address. 52995c635efSGarrett D'Amore.Pp 53095c635efSGarrett D'AmoreSee 53195c635efSGarrett D'Amore.Sx \&An . 53295c635efSGarrett D'Amore.It Em CAVEATS 53395c635efSGarrett D'AmoreCommon misuses and misunderstandings should be explained 53495c635efSGarrett D'Amorein this section. 53595c635efSGarrett D'Amore.It Em BUGS 53695c635efSGarrett D'AmoreKnown bugs, limitations, and work-arounds should be described 53795c635efSGarrett D'Amorein this section. 53895c635efSGarrett D'Amore.El 53995c635efSGarrett D'Amore.Sh MACRO OVERVIEW 54095c635efSGarrett D'AmoreThis overview is sorted such that macros of similar purpose are listed 54195c635efSGarrett D'Amoretogether, to help find the best macro for any given purpose. 54295c635efSGarrett D'AmoreDeprecated macros are not included in the overview, but can be found below 54395c635efSGarrett D'Amorein the alphabetical 54495c635efSGarrett D'Amore.Sx MACRO REFERENCE . 54595c635efSGarrett D'Amore.Ss Document preamble and NAME section macros 54695c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 54795c635efSGarrett D'Amore.It Sx \&Dd Ta document date: Ar month day , year 548*260e9a87SYuri Pankov.It Sx \&Dt Ta document title: Ar TITLE SECTION Op Ar arch 54995c635efSGarrett D'Amore.It Sx \&Os Ta operating system version: Op Ar system Op Ar version 55095c635efSGarrett D'Amore.It Sx \&Nm Ta document name (one argument) 55195c635efSGarrett D'Amore.It Sx \&Nd Ta document description (one line) 55295c635efSGarrett D'Amore.El 55395c635efSGarrett D'Amore.Ss Sections and cross references 55495c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 55595c635efSGarrett D'Amore.It Sx \&Sh Ta section header (one line) 55695c635efSGarrett D'Amore.It Sx \&Ss Ta subsection header (one line) 55795c635efSGarrett D'Amore.It Sx \&Sx Ta internal cross reference to a section or subsection 55895c635efSGarrett D'Amore.It Sx \&Xr Ta cross reference to another manual page: Ar name section 55995c635efSGarrett D'Amore.It Sx \&Pp , \&Lp Ta start a text paragraph (no arguments) 56095c635efSGarrett D'Amore.El 56195c635efSGarrett D'Amore.Ss Displays and lists 56295c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 56395c635efSGarrett D'Amore.It Sx \&Bd , \&Ed Ta display block: 56495c635efSGarrett D'Amore.Fl Ar type 56595c635efSGarrett D'Amore.Op Fl offset Ar width 56695c635efSGarrett D'Amore.Op Fl compact 56795c635efSGarrett D'Amore.It Sx \&D1 Ta indented display (one line) 56895c635efSGarrett D'Amore.It Sx \&Dl Ta indented literal display (one line) 569*260e9a87SYuri Pankov.It Sx \&Ql Ta in-line literal display: Ql text 57095c635efSGarrett D'Amore.It Sx \&Bl , \&El Ta list block: 57195c635efSGarrett D'Amore.Fl Ar type 57295c635efSGarrett D'Amore.Op Fl width Ar val 57395c635efSGarrett D'Amore.Op Fl offset Ar val 57495c635efSGarrett D'Amore.Op Fl compact 57595c635efSGarrett D'Amore.It Sx \&It Ta list item (syntax depends on Fl Ar type ) 57695c635efSGarrett D'Amore.It Sx \&Ta Ta table cell separator in Sx \&Bl Fl column No lists 57795c635efSGarrett D'Amore.It Sx \&Rs , \&%* , \&Re Ta bibliographic block (references) 57895c635efSGarrett D'Amore.El 57995c635efSGarrett D'Amore.Ss Spacing control 58095c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 58195c635efSGarrett D'Amore.It Sx \&Pf Ta prefix, no following horizontal space (one argument) 58295c635efSGarrett D'Amore.It Sx \&Ns Ta roman font, no preceding horizontal space (no arguments) 58395c635efSGarrett D'Amore.It Sx \&Ap Ta apostrophe without surrounding whitespace (no arguments) 584*260e9a87SYuri Pankov.It Sx \&Sm Ta switch horizontal spacing mode: Op Cm on | off 58595c635efSGarrett D'Amore.It Sx \&Bk , \&Ek Ta keep block: Fl words 58695c635efSGarrett D'Amore.It Sx \&br Ta force output line break in text mode (no arguments) 58795c635efSGarrett D'Amore.It Sx \&sp Ta force vertical space: Op Ar height 58895c635efSGarrett D'Amore.El 58995c635efSGarrett D'Amore.Ss Semantic markup for command line utilities: 59095c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 59195c635efSGarrett D'Amore.It Sx \&Nm Ta start a SYNOPSIS block with the name of a utility 59295c635efSGarrett D'Amore.It Sx \&Fl Ta command line options (flags) (>=0 arguments) 59395c635efSGarrett D'Amore.It Sx \&Cm Ta command modifier (>0 arguments) 59495c635efSGarrett D'Amore.It Sx \&Ar Ta command arguments (>=0 arguments) 59595c635efSGarrett D'Amore.It Sx \&Op , \&Oo , \&Oc Ta optional syntax elements (enclosure) 59695c635efSGarrett D'Amore.It Sx \&Ic Ta internal or interactive command (>0 arguments) 59795c635efSGarrett D'Amore.It Sx \&Ev Ta environmental variable (>0 arguments) 59895c635efSGarrett D'Amore.It Sx \&Pa Ta file system path (>=0 arguments) 59995c635efSGarrett D'Amore.El 60095c635efSGarrett D'Amore.Ss Semantic markup for function libraries: 60195c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 60295c635efSGarrett D'Amore.It Sx \&Lb Ta function library (one argument) 60395c635efSGarrett D'Amore.It Sx \&In Ta include file (one argument) 604*260e9a87SYuri Pankov.It Sx \&Fd Ta other preprocessor directive (>0 arguments) 60595c635efSGarrett D'Amore.It Sx \&Ft Ta function type (>0 arguments) 60695c635efSGarrett D'Amore.It Sx \&Fo , \&Fc Ta function block: Ar funcname 60795c635efSGarrett D'Amore.It Sx \&Fn Ta function name: 60895c635efSGarrett D'Amore.Op Ar functype 60995c635efSGarrett D'Amore.Ar funcname 61095c635efSGarrett D'Amore.Oo 61195c635efSGarrett D'Amore.Op Ar argtype 61295c635efSGarrett D'Amore.Ar argname 61395c635efSGarrett D'Amore.Oc 61495c635efSGarrett D'Amore.It Sx \&Fa Ta function argument (>0 arguments) 61595c635efSGarrett D'Amore.It Sx \&Vt Ta variable type (>0 arguments) 61695c635efSGarrett D'Amore.It Sx \&Va Ta variable name (>0 arguments) 61795c635efSGarrett D'Amore.It Sx \&Dv Ta defined variable or preprocessor constant (>0 arguments) 61895c635efSGarrett D'Amore.It Sx \&Er Ta error constant (>0 arguments) 61995c635efSGarrett D'Amore.It Sx \&Ev Ta environmental variable (>0 arguments) 62095c635efSGarrett D'Amore.El 62195c635efSGarrett D'Amore.Ss Various semantic markup: 62295c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 62395c635efSGarrett D'Amore.It Sx \&An Ta author name (>0 arguments) 62495c635efSGarrett D'Amore.It Sx \&Lk Ta hyperlink: Ar uri Op Ar name 62595c635efSGarrett D'Amore.It Sx \&Mt Ta Do mailto Dc hyperlink: Ar address 62695c635efSGarrett D'Amore.It Sx \&Cd Ta kernel configuration declaration (>0 arguments) 62795c635efSGarrett D'Amore.It Sx \&Ad Ta memory address (>0 arguments) 62895c635efSGarrett D'Amore.It Sx \&Ms Ta mathematical symbol (>0 arguments) 62995c635efSGarrett D'Amore.El 63095c635efSGarrett D'Amore.Ss Physical markup 63195c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 63295c635efSGarrett D'Amore.It Sx \&Em Ta italic font or underline (emphasis) (>0 arguments) 63395c635efSGarrett D'Amore.It Sx \&Sy Ta boldface font (symbolic) (>0 arguments) 63495c635efSGarrett D'Amore.It Sx \&Li Ta typewriter font (literal) (>0 arguments) 63595c635efSGarrett D'Amore.It Sx \&No Ta return to roman font (normal) (no arguments) 63695c635efSGarrett D'Amore.It Sx \&Bf , \&Ef Ta font block: 63795c635efSGarrett D'Amore.Op Fl Ar type | Cm \&Em | \&Li | \&Sy 63895c635efSGarrett D'Amore.El 63995c635efSGarrett D'Amore.Ss Physical enclosures 64095c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 64195c635efSGarrett D'Amore.It Sx \&Dq , \&Do , \&Dc Ta enclose in typographic double quotes: Dq text 64295c635efSGarrett D'Amore.It Sx \&Qq , \&Qo , \&Qc Ta enclose in typewriter double quotes: Qq text 64395c635efSGarrett D'Amore.It Sx \&Sq , \&So , \&Sc Ta enclose in single quotes: Sq text 64495c635efSGarrett D'Amore.It Sx \&Pq , \&Po , \&Pc Ta enclose in parentheses: Pq text 64595c635efSGarrett D'Amore.It Sx \&Bq , \&Bo , \&Bc Ta enclose in square brackets: Bq text 64695c635efSGarrett D'Amore.It Sx \&Brq , \&Bro , \&Brc Ta enclose in curly braces: Brq text 64795c635efSGarrett D'Amore.It Sx \&Aq , \&Ao , \&Ac Ta enclose in angle brackets: Aq text 64895c635efSGarrett D'Amore.It Sx \&Eo , \&Ec Ta generic enclosure 64995c635efSGarrett D'Amore.El 65095c635efSGarrett D'Amore.Ss Text production 65195c635efSGarrett D'Amore.Bl -column "Brq, Bro, Brc" description 65295c635efSGarrett D'Amore.It Sx \&Ex Fl std Ta standard command exit values: Op Ar utility ... 65395c635efSGarrett D'Amore.It Sx \&Rv Fl std Ta standard function return values: Op Ar function ... 65495c635efSGarrett D'Amore.It Sx \&St Ta reference to a standards document (one argument) 65595c635efSGarrett D'Amore.It Sx \&At Ta At 65695c635efSGarrett D'Amore.It Sx \&Bx Ta Bx 65795c635efSGarrett D'Amore.It Sx \&Bsx Ta Bsx 65895c635efSGarrett D'Amore.It Sx \&Nx Ta Nx 65995c635efSGarrett D'Amore.It Sx \&Fx Ta Fx 66095c635efSGarrett D'Amore.It Sx \&Ox Ta Ox 66195c635efSGarrett D'Amore.It Sx \&Dx Ta Dx 66295c635efSGarrett D'Amore.El 66395c635efSGarrett D'Amore.Sh MACRO REFERENCE 66495c635efSGarrett D'AmoreThis section is a canonical reference of all macros, arranged 66595c635efSGarrett D'Amorealphabetically. 66695c635efSGarrett D'AmoreFor the scoping of individual macros, see 66795c635efSGarrett D'Amore.Sx MACRO SYNTAX . 66895c635efSGarrett D'Amore.Ss \&%A 66995c635efSGarrett D'AmoreAuthor name of an 67095c635efSGarrett D'Amore.Sx \&Rs 67195c635efSGarrett D'Amoreblock. 67295c635efSGarrett D'AmoreMultiple authors should each be accorded their own 67395c635efSGarrett D'Amore.Sx \%%A 67495c635efSGarrett D'Amoreline. 67595c635efSGarrett D'AmoreAuthor names should be ordered with full or abbreviated forename(s) 67695c635efSGarrett D'Amorefirst, then full surname. 67795c635efSGarrett D'Amore.Ss \&%B 67895c635efSGarrett D'AmoreBook title of an 67995c635efSGarrett D'Amore.Sx \&Rs 68095c635efSGarrett D'Amoreblock. 68195c635efSGarrett D'AmoreThis macro may also be used in a non-bibliographic context when 68295c635efSGarrett D'Amorereferring to book titles. 68395c635efSGarrett D'Amore.Ss \&%C 68495c635efSGarrett D'AmorePublication city or location of an 68595c635efSGarrett D'Amore.Sx \&Rs 68695c635efSGarrett D'Amoreblock. 68795c635efSGarrett D'Amore.Ss \&%D 68895c635efSGarrett D'AmorePublication date of an 68995c635efSGarrett D'Amore.Sx \&Rs 69095c635efSGarrett D'Amoreblock. 69195c635efSGarrett D'AmoreRecommended formats of arguments are 69295c635efSGarrett D'Amore.Ar month day , year 69395c635efSGarrett D'Amoreor just 69495c635efSGarrett D'Amore.Ar year . 69595c635efSGarrett D'Amore.Ss \&%I 69695c635efSGarrett D'AmorePublisher or issuer name of an 69795c635efSGarrett D'Amore.Sx \&Rs 69895c635efSGarrett D'Amoreblock. 69995c635efSGarrett D'Amore.Ss \&%J 70095c635efSGarrett D'AmoreJournal name of an 70195c635efSGarrett D'Amore.Sx \&Rs 70295c635efSGarrett D'Amoreblock. 70395c635efSGarrett D'Amore.Ss \&%N 70495c635efSGarrett D'AmoreIssue number (usually for journals) of an 70595c635efSGarrett D'Amore.Sx \&Rs 70695c635efSGarrett D'Amoreblock. 70795c635efSGarrett D'Amore.Ss \&%O 70895c635efSGarrett D'AmoreOptional information of an 70995c635efSGarrett D'Amore.Sx \&Rs 71095c635efSGarrett D'Amoreblock. 71195c635efSGarrett D'Amore.Ss \&%P 71295c635efSGarrett D'AmoreBook or journal page number of an 71395c635efSGarrett D'Amore.Sx \&Rs 71495c635efSGarrett D'Amoreblock. 71595c635efSGarrett D'Amore.Ss \&%Q 71695c635efSGarrett D'AmoreInstitutional author (school, government, etc.) of an 71795c635efSGarrett D'Amore.Sx \&Rs 71895c635efSGarrett D'Amoreblock. 71995c635efSGarrett D'AmoreMultiple institutional authors should each be accorded their own 72095c635efSGarrett D'Amore.Sx \&%Q 72195c635efSGarrett D'Amoreline. 72295c635efSGarrett D'Amore.Ss \&%R 72395c635efSGarrett D'AmoreTechnical report name of an 72495c635efSGarrett D'Amore.Sx \&Rs 72595c635efSGarrett D'Amoreblock. 72695c635efSGarrett D'Amore.Ss \&%T 72795c635efSGarrett D'AmoreArticle title of an 72895c635efSGarrett D'Amore.Sx \&Rs 72995c635efSGarrett D'Amoreblock. 73095c635efSGarrett D'AmoreThis macro may also be used in a non-bibliographical context when 73195c635efSGarrett D'Amorereferring to article titles. 73295c635efSGarrett D'Amore.Ss \&%U 73395c635efSGarrett D'AmoreURI of reference document. 73495c635efSGarrett D'Amore.Ss \&%V 73595c635efSGarrett D'AmoreVolume number of an 73695c635efSGarrett D'Amore.Sx \&Rs 73795c635efSGarrett D'Amoreblock. 73895c635efSGarrett D'Amore.Ss \&Ac 73995c635efSGarrett D'AmoreClose an 74095c635efSGarrett D'Amore.Sx \&Ao 74195c635efSGarrett D'Amoreblock. 74295c635efSGarrett D'AmoreDoes not have any tail arguments. 74395c635efSGarrett D'Amore.Ss \&Ad 74495c635efSGarrett D'AmoreMemory address. 74595c635efSGarrett D'AmoreDo not use this for postal addresses. 74695c635efSGarrett D'Amore.Pp 74795c635efSGarrett D'AmoreExamples: 74895c635efSGarrett D'Amore.Dl \&.Ad [0,$] 74995c635efSGarrett D'Amore.Dl \&.Ad 0x00000000 75095c635efSGarrett D'Amore.Ss \&An 75195c635efSGarrett D'AmoreAuthor name. 75295c635efSGarrett D'AmoreCan be used both for the authors of the program, function, or driver 75395c635efSGarrett D'Amoredocumented in the manual, or for the authors of the manual itself. 75495c635efSGarrett D'AmoreRequires either the name of an author or one of the following arguments: 75595c635efSGarrett D'Amore.Pp 75695c635efSGarrett D'Amore.Bl -tag -width "-nosplitX" -offset indent -compact 75795c635efSGarrett D'Amore.It Fl split 75895c635efSGarrett D'AmoreStart a new output line before each subsequent invocation of 75995c635efSGarrett D'Amore.Sx \&An . 76095c635efSGarrett D'Amore.It Fl nosplit 76195c635efSGarrett D'AmoreThe opposite of 76295c635efSGarrett D'Amore.Fl split . 76395c635efSGarrett D'Amore.El 76495c635efSGarrett D'Amore.Pp 76595c635efSGarrett D'AmoreThe default is 76695c635efSGarrett D'Amore.Fl nosplit . 76795c635efSGarrett D'AmoreThe effect of selecting either of the 76895c635efSGarrett D'Amore.Fl split 76995c635efSGarrett D'Amoremodes ends at the beginning of the 77095c635efSGarrett D'Amore.Em AUTHORS 77195c635efSGarrett D'Amoresection. 77295c635efSGarrett D'AmoreIn the 77395c635efSGarrett D'Amore.Em AUTHORS 77495c635efSGarrett D'Amoresection, the default is 77595c635efSGarrett D'Amore.Fl nosplit 77695c635efSGarrett D'Amorefor the first author listing and 77795c635efSGarrett D'Amore.Fl split 77895c635efSGarrett D'Amorefor all other author listings. 77995c635efSGarrett D'Amore.Pp 78095c635efSGarrett D'AmoreExamples: 78195c635efSGarrett D'Amore.Dl \&.An -nosplit 782*260e9a87SYuri Pankov.Dl \&.An Kristaps Dzonsons \&Aq \&Mt kristaps@bsd.lv 78395c635efSGarrett D'Amore.Ss \&Ao 78495c635efSGarrett D'AmoreBegin a block enclosed by angle brackets. 78595c635efSGarrett D'AmoreDoes not have any head arguments. 78695c635efSGarrett D'Amore.Pp 78795c635efSGarrett D'AmoreExamples: 78895c635efSGarrett D'Amore.Dl \&.Fl -key= \&Ns \&Ao \&Ar val \&Ac 78995c635efSGarrett D'Amore.Pp 79095c635efSGarrett D'AmoreSee also 79195c635efSGarrett D'Amore.Sx \&Aq . 79295c635efSGarrett D'Amore.Ss \&Ap 79395c635efSGarrett D'AmoreInserts an apostrophe without any surrounding whitespace. 79495c635efSGarrett D'AmoreThis is generally used as a grammatical device when referring to the verb 79595c635efSGarrett D'Amoreform of a function. 79695c635efSGarrett D'Amore.Pp 79795c635efSGarrett D'AmoreExamples: 79895c635efSGarrett D'Amore.Dl \&.Fn execve \&Ap d 79995c635efSGarrett D'Amore.Ss \&Aq 80095c635efSGarrett D'AmoreEncloses its arguments in angle brackets. 80195c635efSGarrett D'Amore.Pp 80295c635efSGarrett D'AmoreExamples: 80395c635efSGarrett D'Amore.Dl \&.Fl -key= \&Ns \&Aq \&Ar val 80495c635efSGarrett D'Amore.Pp 80595c635efSGarrett D'Amore.Em Remarks : 80695c635efSGarrett D'Amorethis macro is often abused for rendering URIs, which should instead use 80795c635efSGarrett D'Amore.Sx \&Lk 80895c635efSGarrett D'Amoreor 80995c635efSGarrett D'Amore.Sx \&Mt , 81095c635efSGarrett D'Amoreor to note pre-processor 81195c635efSGarrett D'Amore.Dq Li #include 81295c635efSGarrett D'Amorestatements, which should use 81395c635efSGarrett D'Amore.Sx \&In . 81495c635efSGarrett D'Amore.Pp 81595c635efSGarrett D'AmoreSee also 81695c635efSGarrett D'Amore.Sx \&Ao . 81795c635efSGarrett D'Amore.Ss \&Ar 81895c635efSGarrett D'AmoreCommand arguments. 81995c635efSGarrett D'AmoreIf an argument is not provided, the string 82095c635efSGarrett D'Amore.Dq file ...\& 82195c635efSGarrett D'Amoreis used as a default. 82295c635efSGarrett D'Amore.Pp 82395c635efSGarrett D'AmoreExamples: 82495c635efSGarrett D'Amore.Dl ".Fl o Ar file" 82595c635efSGarrett D'Amore.Dl ".Ar" 82695c635efSGarrett D'Amore.Dl ".Ar arg1 , arg2 ." 82795c635efSGarrett D'Amore.Pp 82895c635efSGarrett D'AmoreThe arguments to the 82995c635efSGarrett D'Amore.Sx \&Ar 83095c635efSGarrett D'Amoremacro are names and placeholders for command arguments; 83195c635efSGarrett D'Amorefor fixed strings to be passed verbatim as arguments, use 83295c635efSGarrett D'Amore.Sx \&Fl 83395c635efSGarrett D'Amoreor 83495c635efSGarrett D'Amore.Sx \&Cm . 83595c635efSGarrett D'Amore.Ss \&At 836*260e9a87SYuri PankovFormats an 837*260e9a87SYuri Pankov.At 838*260e9a87SYuri Pankovversion. 83995c635efSGarrett D'AmoreAccepts one optional argument: 84095c635efSGarrett D'Amore.Pp 84195c635efSGarrett D'Amore.Bl -tag -width "v[1-7] | 32vX" -offset indent -compact 84295c635efSGarrett D'Amore.It Cm v[1-7] | 32v 84395c635efSGarrett D'AmoreA version of 84495c635efSGarrett D'Amore.At . 84595c635efSGarrett D'Amore.It Cm III 84695c635efSGarrett D'Amore.At III . 84795c635efSGarrett D'Amore.It Cm V[.[1-4]]? 84895c635efSGarrett D'AmoreA version of 84995c635efSGarrett D'Amore.At V . 85095c635efSGarrett D'Amore.El 85195c635efSGarrett D'Amore.Pp 85295c635efSGarrett D'AmoreNote that these arguments do not begin with a hyphen. 85395c635efSGarrett D'Amore.Pp 85495c635efSGarrett D'AmoreExamples: 85595c635efSGarrett D'Amore.Dl \&.At 85695c635efSGarrett D'Amore.Dl \&.At III 85795c635efSGarrett D'Amore.Dl \&.At V.1 85895c635efSGarrett D'Amore.Pp 85995c635efSGarrett D'AmoreSee also 86095c635efSGarrett D'Amore.Sx \&Bsx , 86195c635efSGarrett D'Amore.Sx \&Bx , 86295c635efSGarrett D'Amore.Sx \&Dx , 86395c635efSGarrett D'Amore.Sx \&Fx , 86495c635efSGarrett D'Amore.Sx \&Nx , 86595c635efSGarrett D'Amoreand 866*260e9a87SYuri Pankov.Sx \&Ox . 86795c635efSGarrett D'Amore.Ss \&Bc 86895c635efSGarrett D'AmoreClose a 86995c635efSGarrett D'Amore.Sx \&Bo 87095c635efSGarrett D'Amoreblock. 87195c635efSGarrett D'AmoreDoes not have any tail arguments. 87295c635efSGarrett D'Amore.Ss \&Bd 87395c635efSGarrett D'AmoreBegin a display block. 87495c635efSGarrett D'AmoreIts syntax is as follows: 87595c635efSGarrett D'Amore.Bd -ragged -offset indent 87695c635efSGarrett D'Amore.Pf \. Sx \&Bd 87795c635efSGarrett D'Amore.Fl Ns Ar type 87895c635efSGarrett D'Amore.Op Fl offset Ar width 87995c635efSGarrett D'Amore.Op Fl compact 88095c635efSGarrett D'Amore.Ed 88195c635efSGarrett D'Amore.Pp 88295c635efSGarrett D'AmoreDisplay blocks are used to select a different indentation and 88395c635efSGarrett D'Amorejustification than the one used by the surrounding text. 88495c635efSGarrett D'AmoreThey may contain both macro lines and text lines. 88595c635efSGarrett D'AmoreBy default, a display block is preceded by a vertical space. 88695c635efSGarrett D'Amore.Pp 88795c635efSGarrett D'AmoreThe 88895c635efSGarrett D'Amore.Ar type 88995c635efSGarrett D'Amoremust be one of the following: 89095c635efSGarrett D'Amore.Bl -tag -width 13n -offset indent 89195c635efSGarrett D'Amore.It Fl centered 892*260e9a87SYuri PankovProduce one output line from each input line, and center-justify each line. 89395c635efSGarrett D'AmoreUsing this display type is not recommended; many 89495c635efSGarrett D'Amore.Nm 89595c635efSGarrett D'Amoreimplementations render it poorly. 89695c635efSGarrett D'Amore.It Fl filled 89795c635efSGarrett D'AmoreChange the positions of line breaks to fill each line, and left- and 89895c635efSGarrett D'Amoreright-justify the resulting block. 89995c635efSGarrett D'Amore.It Fl literal 90095c635efSGarrett D'AmoreProduce one output line from each input line, 90195c635efSGarrett D'Amoreand do not justify the block at all. 90295c635efSGarrett D'AmorePreserve white space as it appears in the input. 90395c635efSGarrett D'AmoreAlways use a constant-width font. 90495c635efSGarrett D'AmoreUse this for displaying source code. 90595c635efSGarrett D'Amore.It Fl ragged 90695c635efSGarrett D'AmoreChange the positions of line breaks to fill each line, and left-justify 90795c635efSGarrett D'Amorethe resulting block. 90895c635efSGarrett D'Amore.It Fl unfilled 90995c635efSGarrett D'AmoreThe same as 91095c635efSGarrett D'Amore.Fl literal , 91195c635efSGarrett D'Amorebut using the same font as for normal text, which is a variable width font 91295c635efSGarrett D'Amoreif supported by the output device. 91395c635efSGarrett D'Amore.El 91495c635efSGarrett D'Amore.Pp 91595c635efSGarrett D'AmoreThe 91695c635efSGarrett D'Amore.Ar type 91795c635efSGarrett D'Amoremust be provided first. 91895c635efSGarrett D'AmoreAdditional arguments may follow: 91995c635efSGarrett D'Amore.Bl -tag -width 13n -offset indent 92095c635efSGarrett D'Amore.It Fl offset Ar width 92195c635efSGarrett D'AmoreIndent the display by the 92295c635efSGarrett D'Amore.Ar width , 92395c635efSGarrett D'Amorewhich may be one of the following: 92495c635efSGarrett D'Amore.Bl -item 92595c635efSGarrett D'Amore.It 92695c635efSGarrett D'AmoreOne of the pre-defined strings 92795c635efSGarrett D'Amore.Cm indent , 92895c635efSGarrett D'Amorethe width of a standard indentation (six constant width characters); 92995c635efSGarrett D'Amore.Cm indent-two , 93095c635efSGarrett D'Amoretwice 93195c635efSGarrett D'Amore.Cm indent ; 93295c635efSGarrett D'Amore.Cm left , 93395c635efSGarrett D'Amorewhich has no effect; 93495c635efSGarrett D'Amore.Cm right , 93595c635efSGarrett D'Amorewhich justifies to the right margin; or 93695c635efSGarrett D'Amore.Cm center , 937*260e9a87SYuri Pankovwhich aligns around an imagined center axis. 93895c635efSGarrett D'Amore.It 93995c635efSGarrett D'AmoreA macro invocation, which selects a predefined width 94095c635efSGarrett D'Amoreassociated with that macro. 94195c635efSGarrett D'AmoreThe most popular is the imaginary macro 94295c635efSGarrett D'Amore.Ar \&Ds , 94395c635efSGarrett D'Amorewhich resolves to 94495c635efSGarrett D'Amore.Sy 6n . 94595c635efSGarrett D'Amore.It 946*260e9a87SYuri PankovA scaling width as described in 947*260e9a87SYuri Pankov.Xr mandoc_roff 5 . 94895c635efSGarrett D'Amore.It 94995c635efSGarrett D'AmoreAn arbitrary string, which indents by the length of this string. 95095c635efSGarrett D'Amore.El 95195c635efSGarrett D'Amore.Pp 95295c635efSGarrett D'AmoreWhen the argument is missing, 95395c635efSGarrett D'Amore.Fl offset 95495c635efSGarrett D'Amoreis ignored. 95595c635efSGarrett D'Amore.It Fl compact 95695c635efSGarrett D'AmoreDo not assert vertical space before the display. 95795c635efSGarrett D'Amore.El 95895c635efSGarrett D'Amore.Pp 95995c635efSGarrett D'AmoreExamples: 96095c635efSGarrett D'Amore.Bd -literal -offset indent 96195c635efSGarrett D'Amore\&.Bd \-literal \-offset indent \-compact 96295c635efSGarrett D'Amore Hello world. 96395c635efSGarrett D'Amore\&.Ed 96495c635efSGarrett D'Amore.Ed 96595c635efSGarrett D'Amore.Pp 96695c635efSGarrett D'AmoreSee also 96795c635efSGarrett D'Amore.Sx \&D1 96895c635efSGarrett D'Amoreand 96995c635efSGarrett D'Amore.Sx \&Dl . 97095c635efSGarrett D'Amore.Ss \&Bf 97195c635efSGarrett D'AmoreChange the font mode for a scoped block of text. 97295c635efSGarrett D'AmoreIts syntax is as follows: 97395c635efSGarrett D'Amore.Bd -ragged -offset indent 97495c635efSGarrett D'Amore.Pf \. Sx \&Bf 97595c635efSGarrett D'Amore.Oo 97695c635efSGarrett D'Amore.Fl emphasis | literal | symbolic | 97795c635efSGarrett D'Amore.Cm \&Em | \&Li | \&Sy 97895c635efSGarrett D'Amore.Oc 97995c635efSGarrett D'Amore.Ed 98095c635efSGarrett D'Amore.Pp 98195c635efSGarrett D'AmoreThe 98295c635efSGarrett D'Amore.Fl emphasis 98395c635efSGarrett D'Amoreand 98495c635efSGarrett D'Amore.Cm \&Em 98595c635efSGarrett D'Amoreargument are equivalent, as are 98695c635efSGarrett D'Amore.Fl symbolic 98795c635efSGarrett D'Amoreand 98895c635efSGarrett D'Amore.Cm \&Sy , 98995c635efSGarrett D'Amoreand 99095c635efSGarrett D'Amore.Fl literal 99195c635efSGarrett D'Amoreand 99295c635efSGarrett D'Amore.Cm \&Li . 99395c635efSGarrett D'AmoreWithout an argument, this macro does nothing. 99495c635efSGarrett D'AmoreThe font mode continues until broken by a new font mode in a nested 99595c635efSGarrett D'Amorescope or 99695c635efSGarrett D'Amore.Sx \&Ef 99795c635efSGarrett D'Amoreis encountered. 99895c635efSGarrett D'Amore.Pp 99995c635efSGarrett D'AmoreSee also 100095c635efSGarrett D'Amore.Sx \&Li , 100195c635efSGarrett D'Amore.Sx \&Ef , 100295c635efSGarrett D'Amore.Sx \&Em , 100395c635efSGarrett D'Amoreand 100495c635efSGarrett D'Amore.Sx \&Sy . 100595c635efSGarrett D'Amore.Ss \&Bk 100695c635efSGarrett D'AmoreFor each macro, keep its output together on the same output line, 100795c635efSGarrett D'Amoreuntil the end of the macro or the end of the input line is reached, 100895c635efSGarrett D'Amorewhichever comes first. 100995c635efSGarrett D'AmoreLine breaks in text lines are unaffected. 101095c635efSGarrett D'AmoreThe syntax is as follows: 101195c635efSGarrett D'Amore.Pp 101295c635efSGarrett D'Amore.D1 Pf \. Sx \&Bk Fl words 101395c635efSGarrett D'Amore.Pp 101495c635efSGarrett D'AmoreThe 101595c635efSGarrett D'Amore.Fl words 101695c635efSGarrett D'Amoreargument is required; additional arguments are ignored. 101795c635efSGarrett D'Amore.Pp 101895c635efSGarrett D'AmoreThe following example will not break within each 101995c635efSGarrett D'Amore.Sx \&Op 102095c635efSGarrett D'Amoremacro line: 102195c635efSGarrett D'Amore.Bd -literal -offset indent 102295c635efSGarrett D'Amore\&.Bk \-words 102395c635efSGarrett D'Amore\&.Op Fl f Ar flags 102495c635efSGarrett D'Amore\&.Op Fl o Ar output 102595c635efSGarrett D'Amore\&.Ek 102695c635efSGarrett D'Amore.Ed 102795c635efSGarrett D'Amore.Pp 102895c635efSGarrett D'AmoreBe careful in using over-long lines within a keep block! 102995c635efSGarrett D'AmoreDoing so will clobber the right margin. 103095c635efSGarrett D'Amore.Ss \&Bl 103195c635efSGarrett D'AmoreBegin a list. 103295c635efSGarrett D'AmoreLists consist of items specified using the 103395c635efSGarrett D'Amore.Sx \&It 103495c635efSGarrett D'Amoremacro, containing a head or a body or both. 103595c635efSGarrett D'AmoreThe list syntax is as follows: 103695c635efSGarrett D'Amore.Bd -ragged -offset indent 103795c635efSGarrett D'Amore.Pf \. Sx \&Bl 103895c635efSGarrett D'Amore.Fl Ns Ar type 103995c635efSGarrett D'Amore.Op Fl width Ar val 104095c635efSGarrett D'Amore.Op Fl offset Ar val 104195c635efSGarrett D'Amore.Op Fl compact 104295c635efSGarrett D'Amore.Op HEAD ... 104395c635efSGarrett D'Amore.Ed 104495c635efSGarrett D'Amore.Pp 104595c635efSGarrett D'AmoreThe list 104695c635efSGarrett D'Amore.Ar type 104795c635efSGarrett D'Amoreis mandatory and must be specified first. 104895c635efSGarrett D'AmoreThe 104995c635efSGarrett D'Amore.Fl width 105095c635efSGarrett D'Amoreand 105195c635efSGarrett D'Amore.Fl offset 1052*260e9a87SYuri Pankovarguments accept macro names as described for 1053*260e9a87SYuri Pankov.Sx \&Bd 1054*260e9a87SYuri Pankov.Fl offset , 1055*260e9a87SYuri Pankovscaling widths as described in 1056*260e9a87SYuri Pankov.Xr mandoc_roff 5 , 105795c635efSGarrett D'Amoreor use the length of the given string. 105895c635efSGarrett D'AmoreThe 105995c635efSGarrett D'Amore.Fl offset 106095c635efSGarrett D'Amoreis a global indentation for the whole list, affecting both item heads 106195c635efSGarrett D'Amoreand bodies. 106295c635efSGarrett D'AmoreFor those list types supporting it, the 106395c635efSGarrett D'Amore.Fl width 106495c635efSGarrett D'Amoreargument requests an additional indentation of item bodies, 106595c635efSGarrett D'Amoreto be added to the 106695c635efSGarrett D'Amore.Fl offset . 106795c635efSGarrett D'AmoreUnless the 106895c635efSGarrett D'Amore.Fl compact 106995c635efSGarrett D'Amoreargument is specified, list entries are separated by vertical space. 107095c635efSGarrett D'Amore.Pp 107195c635efSGarrett D'AmoreA list must specify one of the following list types: 107295c635efSGarrett D'Amore.Bl -tag -width 12n -offset indent 107395c635efSGarrett D'Amore.It Fl bullet 107495c635efSGarrett D'AmoreNo item heads can be specified, but a bullet will be printed at the head 107595c635efSGarrett D'Amoreof each item. 107695c635efSGarrett D'AmoreItem bodies start on the same output line as the bullet 107795c635efSGarrett D'Amoreand are indented according to the 107895c635efSGarrett D'Amore.Fl width 107995c635efSGarrett D'Amoreargument. 108095c635efSGarrett D'Amore.It Fl column 108195c635efSGarrett D'AmoreA columnated list. 108295c635efSGarrett D'AmoreThe 108395c635efSGarrett D'Amore.Fl width 108495c635efSGarrett D'Amoreargument has no effect; instead, each argument specifies the width 1085*260e9a87SYuri Pankovof one column, using either the scaling width syntax described in 1086*260e9a87SYuri Pankov.Xr mandoc_roff 5 1087*260e9a87SYuri Pankovor the string length of the argument. 108895c635efSGarrett D'AmoreIf the first line of the body of a 108995c635efSGarrett D'Amore.Fl column 109095c635efSGarrett D'Amorelist is not an 109195c635efSGarrett D'Amore.Sx \&It 109295c635efSGarrett D'Amoremacro line, 109395c635efSGarrett D'Amore.Sx \&It 109495c635efSGarrett D'Amorecontexts spanning one input line each are implied until an 109595c635efSGarrett D'Amore.Sx \&It 109695c635efSGarrett D'Amoremacro line is encountered, at which point items start being interpreted as 109795c635efSGarrett D'Amoredescribed in the 109895c635efSGarrett D'Amore.Sx \&It 109995c635efSGarrett D'Amoredocumentation. 110095c635efSGarrett D'Amore.It Fl dash 110195c635efSGarrett D'AmoreLike 110295c635efSGarrett D'Amore.Fl bullet , 110395c635efSGarrett D'Amoreexcept that dashes are used in place of bullets. 110495c635efSGarrett D'Amore.It Fl diag 110595c635efSGarrett D'AmoreLike 110695c635efSGarrett D'Amore.Fl inset , 110795c635efSGarrett D'Amoreexcept that item heads are not parsed for macro invocations. 110895c635efSGarrett D'AmoreMost often used in the 110995c635efSGarrett D'Amore.Em DIAGNOSTICS 111095c635efSGarrett D'Amoresection with error constants in the item heads. 111195c635efSGarrett D'Amore.It Fl enum 111295c635efSGarrett D'AmoreA numbered list. 111395c635efSGarrett D'AmoreNo item heads can be specified. 111495c635efSGarrett D'AmoreFormatted like 111595c635efSGarrett D'Amore.Fl bullet , 111695c635efSGarrett D'Amoreexcept that cardinal numbers are used in place of bullets, 111795c635efSGarrett D'Amorestarting at 1. 111895c635efSGarrett D'Amore.It Fl hang 111995c635efSGarrett D'AmoreLike 112095c635efSGarrett D'Amore.Fl tag , 112195c635efSGarrett D'Amoreexcept that the first lines of item bodies are not indented, but follow 112295c635efSGarrett D'Amorethe item heads like in 112395c635efSGarrett D'Amore.Fl inset 112495c635efSGarrett D'Amorelists. 112595c635efSGarrett D'Amore.It Fl hyphen 112695c635efSGarrett D'AmoreSynonym for 112795c635efSGarrett D'Amore.Fl dash . 112895c635efSGarrett D'Amore.It Fl inset 112995c635efSGarrett D'AmoreItem bodies follow items heads on the same line, using normal inter-word 113095c635efSGarrett D'Amorespacing. 113195c635efSGarrett D'AmoreBodies are not indented, and the 113295c635efSGarrett D'Amore.Fl width 113395c635efSGarrett D'Amoreargument is ignored. 113495c635efSGarrett D'Amore.It Fl item 113595c635efSGarrett D'AmoreNo item heads can be specified, and none are printed. 113695c635efSGarrett D'AmoreBodies are not indented, and the 113795c635efSGarrett D'Amore.Fl width 113895c635efSGarrett D'Amoreargument is ignored. 113995c635efSGarrett D'Amore.It Fl ohang 114095c635efSGarrett D'AmoreItem bodies start on the line following item heads and are not indented. 114195c635efSGarrett D'AmoreThe 114295c635efSGarrett D'Amore.Fl width 114395c635efSGarrett D'Amoreargument is ignored. 114495c635efSGarrett D'Amore.It Fl tag 114595c635efSGarrett D'AmoreItem bodies are indented according to the 114695c635efSGarrett D'Amore.Fl width 114795c635efSGarrett D'Amoreargument. 114895c635efSGarrett D'AmoreWhen an item head fits inside the indentation, the item body follows 114995c635efSGarrett D'Amorethis head on the same output line. 115095c635efSGarrett D'AmoreOtherwise, the body starts on the output line following the head. 115195c635efSGarrett D'Amore.El 115295c635efSGarrett D'Amore.Pp 115395c635efSGarrett D'AmoreLists may be nested within lists and displays. 115495c635efSGarrett D'AmoreNesting of 115595c635efSGarrett D'Amore.Fl column 115695c635efSGarrett D'Amoreand 115795c635efSGarrett D'Amore.Fl enum 115895c635efSGarrett D'Amorelists may not be portable. 115995c635efSGarrett D'Amore.Pp 116095c635efSGarrett D'AmoreSee also 116195c635efSGarrett D'Amore.Sx \&El 116295c635efSGarrett D'Amoreand 116395c635efSGarrett D'Amore.Sx \&It . 116495c635efSGarrett D'Amore.Ss \&Bo 116595c635efSGarrett D'AmoreBegin a block enclosed by square brackets. 116695c635efSGarrett D'AmoreDoes not have any head arguments. 116795c635efSGarrett D'Amore.Pp 116895c635efSGarrett D'AmoreExamples: 116995c635efSGarrett D'Amore.Bd -literal -offset indent -compact 117095c635efSGarrett D'Amore\&.Bo 1 , 117195c635efSGarrett D'Amore\&.Dv BUFSIZ \&Bc 117295c635efSGarrett D'Amore.Ed 117395c635efSGarrett D'Amore.Pp 117495c635efSGarrett D'AmoreSee also 117595c635efSGarrett D'Amore.Sx \&Bq . 117695c635efSGarrett D'Amore.Ss \&Bq 117795c635efSGarrett D'AmoreEncloses its arguments in square brackets. 117895c635efSGarrett D'Amore.Pp 117995c635efSGarrett D'AmoreExamples: 118095c635efSGarrett D'Amore.Dl \&.Bq 1 , \&Dv BUFSIZ 118195c635efSGarrett D'Amore.Pp 118295c635efSGarrett D'Amore.Em Remarks : 118395c635efSGarrett D'Amorethis macro is sometimes abused to emulate optional arguments for 118495c635efSGarrett D'Amorecommands; the correct macros to use for this purpose are 118595c635efSGarrett D'Amore.Sx \&Op , 118695c635efSGarrett D'Amore.Sx \&Oo , 118795c635efSGarrett D'Amoreand 118895c635efSGarrett D'Amore.Sx \&Oc . 118995c635efSGarrett D'Amore.Pp 119095c635efSGarrett D'AmoreSee also 119195c635efSGarrett D'Amore.Sx \&Bo . 119295c635efSGarrett D'Amore.Ss \&Brc 119395c635efSGarrett D'AmoreClose a 119495c635efSGarrett D'Amore.Sx \&Bro 119595c635efSGarrett D'Amoreblock. 119695c635efSGarrett D'AmoreDoes not have any tail arguments. 119795c635efSGarrett D'Amore.Ss \&Bro 119895c635efSGarrett D'AmoreBegin a block enclosed by curly braces. 119995c635efSGarrett D'AmoreDoes not have any head arguments. 120095c635efSGarrett D'Amore.Pp 120195c635efSGarrett D'AmoreExamples: 120295c635efSGarrett D'Amore.Bd -literal -offset indent -compact 120395c635efSGarrett D'Amore\&.Bro 1 , ... , 120495c635efSGarrett D'Amore\&.Va n \&Brc 120595c635efSGarrett D'Amore.Ed 120695c635efSGarrett D'Amore.Pp 120795c635efSGarrett D'AmoreSee also 120895c635efSGarrett D'Amore.Sx \&Brq . 120995c635efSGarrett D'Amore.Ss \&Brq 121095c635efSGarrett D'AmoreEncloses its arguments in curly braces. 121195c635efSGarrett D'Amore.Pp 121295c635efSGarrett D'AmoreExamples: 121395c635efSGarrett D'Amore.Dl \&.Brq 1 , ... , \&Va n 121495c635efSGarrett D'Amore.Pp 121595c635efSGarrett D'AmoreSee also 121695c635efSGarrett D'Amore.Sx \&Bro . 121795c635efSGarrett D'Amore.Ss \&Bsx 1218*260e9a87SYuri PankovFormat the 1219*260e9a87SYuri Pankov.Bsx 1220*260e9a87SYuri Pankovversion provided as an argument, or a default value if 122195c635efSGarrett D'Amoreno argument is provided. 122295c635efSGarrett D'Amore.Pp 122395c635efSGarrett D'AmoreExamples: 122495c635efSGarrett D'Amore.Dl \&.Bsx 1.0 122595c635efSGarrett D'Amore.Dl \&.Bsx 122695c635efSGarrett D'Amore.Pp 122795c635efSGarrett D'AmoreSee also 122895c635efSGarrett D'Amore.Sx \&At , 122995c635efSGarrett D'Amore.Sx \&Bx , 123095c635efSGarrett D'Amore.Sx \&Dx , 123195c635efSGarrett D'Amore.Sx \&Fx , 123295c635efSGarrett D'Amore.Sx \&Nx , 123395c635efSGarrett D'Amoreand 1234*260e9a87SYuri Pankov.Sx \&Ox . 123595c635efSGarrett D'Amore.Ss \&Bt 1236*260e9a87SYuri PankovSupported only for compatibility, do not use this in new manuals. 123795c635efSGarrett D'AmorePrints 123895c635efSGarrett D'Amore.Dq is currently in beta test. 123995c635efSGarrett D'Amore.Ss \&Bx 1240*260e9a87SYuri PankovFormat the 1241*260e9a87SYuri Pankov.Bx 1242*260e9a87SYuri Pankovversion provided as an argument, or a default value if no 124395c635efSGarrett D'Amoreargument is provided. 124495c635efSGarrett D'Amore.Pp 124595c635efSGarrett D'AmoreExamples: 124695c635efSGarrett D'Amore.Dl \&.Bx 4.3 Tahoe 124795c635efSGarrett D'Amore.Dl \&.Bx 4.4 124895c635efSGarrett D'Amore.Dl \&.Bx 124995c635efSGarrett D'Amore.Pp 125095c635efSGarrett D'AmoreSee also 125195c635efSGarrett D'Amore.Sx \&At , 125295c635efSGarrett D'Amore.Sx \&Bsx , 125395c635efSGarrett D'Amore.Sx \&Dx , 125495c635efSGarrett D'Amore.Sx \&Fx , 125595c635efSGarrett D'Amore.Sx \&Nx , 125695c635efSGarrett D'Amoreand 1257*260e9a87SYuri Pankov.Sx \&Ox . 125895c635efSGarrett D'Amore.Ss \&Cd 125995c635efSGarrett D'AmoreKernel configuration declaration. It is found in pages for 126095c635efSGarrett D'Amore.Bx 126195c635efSGarrett D'Amoreand not used here. 126295c635efSGarrett D'Amore.Pp 126395c635efSGarrett D'AmoreExamples: 126495c635efSGarrett D'Amore.Dl \&.Cd device le0 at scode? 126595c635efSGarrett D'Amore.Pp 126695c635efSGarrett D'Amore.Em Remarks : 126795c635efSGarrett D'Amorethis macro is commonly abused by using quoted literals to retain 126895c635efSGarrett D'Amorewhitespace and align consecutive 126995c635efSGarrett D'Amore.Sx \&Cd 127095c635efSGarrett D'Amoredeclarations. 127195c635efSGarrett D'AmoreThis practise is discouraged. 127295c635efSGarrett D'Amore.Ss \&Cm 127395c635efSGarrett D'AmoreCommand modifiers. 127495c635efSGarrett D'AmoreTypically used for fixed strings passed as arguments, unless 127595c635efSGarrett D'Amore.Sx \&Fl 127695c635efSGarrett D'Amoreis more appropriate. 127795c635efSGarrett D'AmoreAlso useful when specifying configuration options or keys. 127895c635efSGarrett D'Amore.Pp 127995c635efSGarrett D'AmoreExamples: 128095c635efSGarrett D'Amore.Dl ".Nm mt Fl f Ar device Cm rewind" 128195c635efSGarrett D'Amore.Dl ".Nm ps Fl o Cm pid , Ns Cm command" 128295c635efSGarrett D'Amore.Dl ".Nm dd Cm if= Ns Ar file1 Cm of= Ns Ar file2" 128395c635efSGarrett D'Amore.Dl ".Cm IdentityFile Pa ~/.ssh/id_rsa" 128495c635efSGarrett D'Amore.Dl ".Cm LogLevel Dv DEBUG" 128595c635efSGarrett D'Amore.Ss \&D1 128695c635efSGarrett D'AmoreOne-line indented display. 128795c635efSGarrett D'AmoreThis is formatted by the default rules and is useful for simple indented 128895c635efSGarrett D'Amorestatements. 128995c635efSGarrett D'AmoreIt is followed by a newline. 129095c635efSGarrett D'Amore.Pp 129195c635efSGarrett D'AmoreExamples: 129295c635efSGarrett D'Amore.Dl \&.D1 \&Fl abcdefgh 129395c635efSGarrett D'Amore.Pp 129495c635efSGarrett D'AmoreSee also 129595c635efSGarrett D'Amore.Sx \&Bd 129695c635efSGarrett D'Amoreand 129795c635efSGarrett D'Amore.Sx \&Dl . 129895c635efSGarrett D'Amore.Ss \&Db 1299*260e9a87SYuri PankovThis macro is obsolete. 1300*260e9a87SYuri PankovNo replacement is needed. 1301*260e9a87SYuri PankovIt is ignored by 1302*260e9a87SYuri Pankov.Xr mandoc 1 1303*260e9a87SYuri Pankovand groff including its arguments. 1304*260e9a87SYuri PankovIt was formerly used to toggle a debugging mode. 130595c635efSGarrett D'Amore.Ss \&Dc 130695c635efSGarrett D'AmoreClose a 130795c635efSGarrett D'Amore.Sx \&Do 130895c635efSGarrett D'Amoreblock. 130995c635efSGarrett D'AmoreDoes not have any tail arguments. 131095c635efSGarrett D'Amore.Ss \&Dd 1311*260e9a87SYuri PankovDocument date for display in the page footer. 131295c635efSGarrett D'AmoreThis is the mandatory first macro of any 131395c635efSGarrett D'Amore.Nm 131495c635efSGarrett D'Amoremanual. 131595c635efSGarrett D'AmoreIts syntax is as follows: 131695c635efSGarrett D'Amore.Pp 131795c635efSGarrett D'Amore.D1 Pf \. Sx \&Dd Ar month day , year 131895c635efSGarrett D'Amore.Pp 131995c635efSGarrett D'AmoreThe 132095c635efSGarrett D'Amore.Ar month 132195c635efSGarrett D'Amoreis the full English month name, the 132295c635efSGarrett D'Amore.Ar day 132395c635efSGarrett D'Amoreis an optionally zero-padded numeral, and the 132495c635efSGarrett D'Amore.Ar year 132595c635efSGarrett D'Amoreis the full four-digit year. 132695c635efSGarrett D'Amore.Pp 132795c635efSGarrett D'AmoreOther arguments are not portable; the 132895c635efSGarrett D'Amore.Xr mandoc 1 132995c635efSGarrett D'Amoreutility handles them as follows: 133095c635efSGarrett D'Amore.Bl -dash -offset 3n -compact 133195c635efSGarrett D'Amore.It 133295c635efSGarrett D'AmoreTo have the date automatically filled in by the 133395c635efSGarrett D'Amore.Ox 133495c635efSGarrett D'Amoreversion of 133595c635efSGarrett D'Amore.Xr cvs 1 , 133695c635efSGarrett D'Amorethe special string 133795c635efSGarrett D'Amore.Dq $\&Mdocdate$ 133895c635efSGarrett D'Amorecan be given as an argument. 133995c635efSGarrett D'Amore.It 1340*260e9a87SYuri PankovThe traditional, purely numeric 1341*260e9a87SYuri Pankov.Xr man 5 1342*260e9a87SYuri Pankovformat 1343*260e9a87SYuri Pankov.Ar year Ns \(en Ns Ar month Ns \(en Ns Ar day 1344*260e9a87SYuri Pankovis accepted, too. 134595c635efSGarrett D'Amore.It 134695c635efSGarrett D'AmoreIf a date string cannot be parsed, it is used verbatim. 134795c635efSGarrett D'Amore.It 134895c635efSGarrett D'AmoreIf no date string is given, the current date is used. 134995c635efSGarrett D'Amore.El 135095c635efSGarrett D'Amore.Pp 135195c635efSGarrett D'AmoreExamples: 135295c635efSGarrett D'Amore.Dl \&.Dd $\&Mdocdate$ 135395c635efSGarrett D'Amore.Dl \&.Dd $\&Mdocdate: July 21 2007$ 135495c635efSGarrett D'Amore.Dl \&.Dd July 21, 2007 135595c635efSGarrett D'Amore.Pp 135695c635efSGarrett D'AmoreSee also 135795c635efSGarrett D'Amore.Sx \&Dt 135895c635efSGarrett D'Amoreand 135995c635efSGarrett D'Amore.Sx \&Os . 136095c635efSGarrett D'Amore.Ss \&Dl 1361*260e9a87SYuri PankovOne-line indented display. 136295c635efSGarrett D'AmoreThis is formatted as literal text and is useful for commands and 136395c635efSGarrett D'Amoreinvocations. 136495c635efSGarrett D'AmoreIt is followed by a newline. 136595c635efSGarrett D'Amore.Pp 136695c635efSGarrett D'AmoreExamples: 136795c635efSGarrett D'Amore.Dl \&.Dl % mandoc mdoc.5 \e(ba less 136895c635efSGarrett D'Amore.Pp 136995c635efSGarrett D'AmoreSee also 1370*260e9a87SYuri Pankov.Sx \&Ql , 137195c635efSGarrett D'Amore.Sx \&Bd 1372*260e9a87SYuri Pankov.Fl literal , 137395c635efSGarrett D'Amoreand 137495c635efSGarrett D'Amore.Sx \&D1 . 137595c635efSGarrett D'Amore.Ss \&Do 137695c635efSGarrett D'AmoreBegin a block enclosed by double quotes. 137795c635efSGarrett D'AmoreDoes not have any head arguments. 137895c635efSGarrett D'Amore.Pp 137995c635efSGarrett D'AmoreExamples: 138095c635efSGarrett D'Amore.Bd -literal -offset indent -compact 138195c635efSGarrett D'Amore\&.Do 138295c635efSGarrett D'AmoreApril is the cruellest month 138395c635efSGarrett D'Amore\&.Dc 138495c635efSGarrett D'Amore\e(em T.S. Eliot 138595c635efSGarrett D'Amore.Ed 138695c635efSGarrett D'Amore.Pp 138795c635efSGarrett D'AmoreSee also 138895c635efSGarrett D'Amore.Sx \&Dq . 138995c635efSGarrett D'Amore.Ss \&Dq 139095c635efSGarrett D'AmoreEncloses its arguments in 139195c635efSGarrett D'Amore.Dq typographic 139295c635efSGarrett D'Amoredouble-quotes. 139395c635efSGarrett D'Amore.Pp 139495c635efSGarrett D'AmoreExamples: 139595c635efSGarrett D'Amore.Bd -literal -offset indent -compact 139695c635efSGarrett D'Amore\&.Dq April is the cruellest month 139795c635efSGarrett D'Amore\e(em T.S. Eliot 139895c635efSGarrett D'Amore.Ed 139995c635efSGarrett D'Amore.Pp 140095c635efSGarrett D'AmoreSee also 140195c635efSGarrett D'Amore.Sx \&Qq , 140295c635efSGarrett D'Amore.Sx \&Sq , 140395c635efSGarrett D'Amoreand 140495c635efSGarrett D'Amore.Sx \&Do . 140595c635efSGarrett D'Amore.Ss \&Dt 1406*260e9a87SYuri PankovDocument title for display in the page header. 140795c635efSGarrett D'AmoreThis is the mandatory second macro of any 140895c635efSGarrett D'Amore.Nm 140995c635efSGarrett D'Amorefile. 141095c635efSGarrett D'AmoreIts syntax is as follows: 141195c635efSGarrett D'Amore.Bd -ragged -offset indent 141295c635efSGarrett D'Amore.Pf \. Sx \&Dt 1413*260e9a87SYuri Pankov.Ar TITLE 141495c635efSGarrett D'Amore.Ar section 141595c635efSGarrett D'Amore.Op Ar arch 141695c635efSGarrett D'Amore.Ed 141795c635efSGarrett D'Amore.Pp 141895c635efSGarrett D'AmoreIts arguments are as follows: 1419*260e9a87SYuri Pankov.Bl -tag -width section -offset 2n 1420*260e9a87SYuri Pankov.It Ar TITLE 142195c635efSGarrett D'AmoreThe document's title (name), defaulting to 1422*260e9a87SYuri Pankov.Dq UNTITLED 142395c635efSGarrett D'Amoreif unspecified. 1424*260e9a87SYuri PankovTo achieve a uniform appearance of page header lines, 1425*260e9a87SYuri Pankovit should by convention be all caps. 1426*260e9a87SYuri Pankov.It Ar SECTION 1427*260e9a87SYuri PankovThe manual section. 1428*260e9a87SYuri PankovIt should correspond to the manual's filename suffix and defaults to 1429*260e9a87SYuri Pankovthe empty string if unspecified. 143095c635efSGarrett D'AmoreThis field is optional. 1431*260e9a87SYuri PankovTo achieve a uniform appearance of page header lines, 1432*260e9a87SYuri Pankovit should by convention be all caps. 143395c635efSGarrett D'Amore.It Ar arch 143495c635efSGarrett D'AmoreThis specifies the machine architecture a manual page applies to, 143595c635efSGarrett D'Amorewhere relevant. 143695c635efSGarrett D'Amore.El 143795c635efSGarrett D'Amore.Ss \&Dv 143895c635efSGarrett D'AmoreDefined variables such as preprocessor constants, constant symbols, 143995c635efSGarrett D'Amoreenumeration values, and so on. 144095c635efSGarrett D'Amore.Pp 144195c635efSGarrett D'AmoreExamples: 144295c635efSGarrett D'Amore.Dl \&.Dv NULL 144395c635efSGarrett D'Amore.Dl \&.Dv BUFSIZ 144495c635efSGarrett D'Amore.Dl \&.Dv STDOUT_FILENO 144595c635efSGarrett D'Amore.Pp 144695c635efSGarrett D'AmoreSee also 144795c635efSGarrett D'Amore.Sx \&Er 144895c635efSGarrett D'Amoreand 144995c635efSGarrett D'Amore.Sx \&Ev 1450*260e9a87SYuri Pankovfor special-purpose constants, 145195c635efSGarrett D'Amore.Sx \&Va 1452*260e9a87SYuri Pankovfor variable symbols, and 1453*260e9a87SYuri Pankov.Sx \&Fd 1454*260e9a87SYuri Pankovfor listing preprocessor variable definitions in the 1455*260e9a87SYuri Pankov.Em SYNOPSIS . 145695c635efSGarrett D'Amore.Ss \&Dx 1457*260e9a87SYuri PankovFormat the 1458*260e9a87SYuri Pankov.Dx 1459*260e9a87SYuri Pankovversion provided as an argument, or a default 146095c635efSGarrett D'Amorevalue if no argument is provided. 146195c635efSGarrett D'Amore.Pp 146295c635efSGarrett D'AmoreExamples: 146395c635efSGarrett D'Amore.Dl \&.Dx 2.4.1 146495c635efSGarrett D'Amore.Dl \&.Dx 146595c635efSGarrett D'Amore.Pp 146695c635efSGarrett D'AmoreSee also 146795c635efSGarrett D'Amore.Sx \&At , 146895c635efSGarrett D'Amore.Sx \&Bsx , 146995c635efSGarrett D'Amore.Sx \&Bx , 147095c635efSGarrett D'Amore.Sx \&Fx , 147195c635efSGarrett D'Amore.Sx \&Nx , 147295c635efSGarrett D'Amoreand 1473*260e9a87SYuri Pankov.Sx \&Ox . 147495c635efSGarrett D'Amore.Ss \&Ec 147595c635efSGarrett D'AmoreClose a scope started by 147695c635efSGarrett D'Amore.Sx \&Eo . 147795c635efSGarrett D'AmoreIts syntax is as follows: 147895c635efSGarrett D'Amore.Pp 147995c635efSGarrett D'Amore.D1 Pf \. Sx \&Ec Op Ar TERM 148095c635efSGarrett D'Amore.Pp 148195c635efSGarrett D'AmoreThe 148295c635efSGarrett D'Amore.Ar TERM 148395c635efSGarrett D'Amoreargument is used as the enclosure tail, for example, specifying \e(rq 148495c635efSGarrett D'Amorewill emulate 148595c635efSGarrett D'Amore.Sx \&Dc . 148695c635efSGarrett D'Amore.Ss \&Ed 148795c635efSGarrett D'AmoreEnd a display context started by 148895c635efSGarrett D'Amore.Sx \&Bd . 148995c635efSGarrett D'Amore.Ss \&Ef 149095c635efSGarrett D'AmoreEnd a font mode context started by 149195c635efSGarrett D'Amore.Sx \&Bf . 149295c635efSGarrett D'Amore.Ss \&Ek 149395c635efSGarrett D'AmoreEnd a keep context started by 149495c635efSGarrett D'Amore.Sx \&Bk . 149595c635efSGarrett D'Amore.Ss \&El 149695c635efSGarrett D'AmoreEnd a list context started by 149795c635efSGarrett D'Amore.Sx \&Bl . 149895c635efSGarrett D'Amore.Pp 149995c635efSGarrett D'AmoreSee also 150095c635efSGarrett D'Amore.Sx \&Bl 150195c635efSGarrett D'Amoreand 150295c635efSGarrett D'Amore.Sx \&It . 150395c635efSGarrett D'Amore.Ss \&Em 1504*260e9a87SYuri PankovRequest an italic font. 1505*260e9a87SYuri PankovIf the output device does not provide that, underline. 1506*260e9a87SYuri Pankov.Pp 1507*260e9a87SYuri PankovThis is most often used for stress emphasis (not to be confused with 1508*260e9a87SYuri Pankovimportance, see 1509*260e9a87SYuri Pankov.Sx \&Sy ) . 1510*260e9a87SYuri PankovIn the rare cases where none of the semantic markup macros fit, 1511*260e9a87SYuri Pankovit can also be used for technical terms and placeholders, except 1512*260e9a87SYuri Pankovthat for syntax elements, 1513*260e9a87SYuri Pankov.Sx \&Sy 1514*260e9a87SYuri Pankovand 1515*260e9a87SYuri Pankov.Sx \&Ar 1516*260e9a87SYuri Pankovare preferred, respectively. 151795c635efSGarrett D'Amore.Pp 151895c635efSGarrett D'AmoreExamples: 1519*260e9a87SYuri Pankov.Bd -literal -compact -offset indent 1520*260e9a87SYuri PankovSelected lines are those 1521*260e9a87SYuri Pankov\&.Em not 1522*260e9a87SYuri Pankovmatching any of the specified patterns. 1523*260e9a87SYuri PankovSome of the functions use a 1524*260e9a87SYuri Pankov\&.Em hold space 1525*260e9a87SYuri Pankovto save the pattern space for subsequent retrieval. 1526*260e9a87SYuri Pankov.Ed 152795c635efSGarrett D'Amore.Pp 152895c635efSGarrett D'AmoreSee also 152995c635efSGarrett D'Amore.Sx \&Bf , 153095c635efSGarrett D'Amore.Sx \&Li , 153195c635efSGarrett D'Amore.Sx \&No , 153295c635efSGarrett D'Amoreand 153395c635efSGarrett D'Amore.Sx \&Sy . 153495c635efSGarrett D'Amore.Ss \&En 1535*260e9a87SYuri PankovThis macro is obsolete. 1536*260e9a87SYuri PankovUse 1537*260e9a87SYuri Pankov.Sx \&Eo 1538*260e9a87SYuri Pankovor any of the other enclosure macros. 1539*260e9a87SYuri Pankov.Pp 1540*260e9a87SYuri PankovIt encloses its argument in the delimiters specified by the last 1541*260e9a87SYuri Pankov.Sx \&Es 1542*260e9a87SYuri Pankovmacro. 154395c635efSGarrett D'Amore.Ss \&Eo 154495c635efSGarrett D'AmoreAn arbitrary enclosure. 154595c635efSGarrett D'AmoreIts syntax is as follows: 154695c635efSGarrett D'Amore.Pp 154795c635efSGarrett D'Amore.D1 Pf \. Sx \&Eo Op Ar TERM 154895c635efSGarrett D'Amore.Pp 154995c635efSGarrett D'AmoreThe 155095c635efSGarrett D'Amore.Ar TERM 155195c635efSGarrett D'Amoreargument is used as the enclosure head, for example, specifying \e(lq 155295c635efSGarrett D'Amorewill emulate 155395c635efSGarrett D'Amore.Sx \&Do . 155495c635efSGarrett D'Amore.Ss \&Er 155595c635efSGarrett D'AmoreError constants for definitions of the 155695c635efSGarrett D'Amore.Va errno 155795c635efSGarrett D'Amorelibc global variable. 155895c635efSGarrett D'AmoreThis is most often used in section 2 and 3 manual pages. 155995c635efSGarrett D'Amore.Pp 156095c635efSGarrett D'AmoreExamples: 156195c635efSGarrett D'Amore.Dl \&.Er EPERM 156295c635efSGarrett D'Amore.Dl \&.Er ENOENT 156395c635efSGarrett D'Amore.Pp 156495c635efSGarrett D'AmoreSee also 156595c635efSGarrett D'Amore.Sx \&Dv 156695c635efSGarrett D'Amorefor general constants. 156795c635efSGarrett D'Amore.Ss \&Es 1568*260e9a87SYuri PankovThis macro is obsolete. 1569*260e9a87SYuri PankovUse 1570*260e9a87SYuri Pankov.Sx \&Eo 1571*260e9a87SYuri Pankovor any of the other enclosure macros. 1572*260e9a87SYuri Pankov.Pp 1573*260e9a87SYuri PankovIt takes two arguments, defining the delimiters to be used by subsequent 1574*260e9a87SYuri Pankov.Sx \&En 1575*260e9a87SYuri Pankovmacros. 157695c635efSGarrett D'Amore.Ss \&Ev 157795c635efSGarrett D'AmoreEnvironmental variables such as those specified in 157895c635efSGarrett D'Amore.Xr environ 5 . 157995c635efSGarrett D'Amore.Pp 158095c635efSGarrett D'AmoreExamples: 158195c635efSGarrett D'Amore.Dl \&.Ev DISPLAY 158295c635efSGarrett D'Amore.Dl \&.Ev PATH 158395c635efSGarrett D'Amore.Pp 158495c635efSGarrett D'AmoreSee also 158595c635efSGarrett D'Amore.Sx \&Dv 158695c635efSGarrett D'Amorefor general constants. 158795c635efSGarrett D'Amore.Ss \&Ex 158895c635efSGarrett D'AmoreInsert a standard sentence regarding command exit values of 0 on success 158995c635efSGarrett D'Amoreand >0 on failure. 159095c635efSGarrett D'AmoreThis is most often used in section 1 and 1M manual pages. 159195c635efSGarrett D'AmoreIts syntax is as follows: 159295c635efSGarrett D'Amore.Pp 159395c635efSGarrett D'Amore.D1 Pf \. Sx \&Ex Fl std Op Ar utility ... 159495c635efSGarrett D'Amore.Pp 159595c635efSGarrett D'AmoreIf 159695c635efSGarrett D'Amore.Ar utility 159795c635efSGarrett D'Amoreis not specified, the document's name set by 159895c635efSGarrett D'Amore.Sx \&Nm 159995c635efSGarrett D'Amoreis used. 160095c635efSGarrett D'AmoreMultiple 160195c635efSGarrett D'Amore.Ar utility 160295c635efSGarrett D'Amorearguments are treated as separate utilities. 160395c635efSGarrett D'Amore.Pp 160495c635efSGarrett D'AmoreSee also 160595c635efSGarrett D'Amore.Sx \&Rv . 160695c635efSGarrett D'Amore.Ss \&Fa 1607*260e9a87SYuri PankovFunction argument or parameter. 160895c635efSGarrett D'AmoreIts syntax is as follows: 160995c635efSGarrett D'Amore.Bd -ragged -offset indent 161095c635efSGarrett D'Amore.Pf \. Sx \&Fa 1611*260e9a87SYuri Pankov.Qo 1612*260e9a87SYuri Pankov.Op Ar argtype 1613*260e9a87SYuri Pankov.Op Ar argname 1614*260e9a87SYuri Pankov.Qc Ar \&... 161595c635efSGarrett D'Amore.Ed 161695c635efSGarrett D'Amore.Pp 1617*260e9a87SYuri PankovEach argument may be a name and a type (recommended for the 1618*260e9a87SYuri Pankov.Em SYNOPSIS 1619*260e9a87SYuri Pankovsection), a name alone (for function invocations), 1620*260e9a87SYuri Pankovor a type alone (for function prototypes). 1621*260e9a87SYuri PankovIf both a type and a name are given or if the type consists of multiple 1622*260e9a87SYuri Pankovwords, all words belonging to the same function argument have to be 1623*260e9a87SYuri Pankovgiven in a single argument to the 1624*260e9a87SYuri Pankov.Sx \&Fa 1625*260e9a87SYuri Pankovmacro. 1626*260e9a87SYuri Pankov.Pp 1627*260e9a87SYuri PankovThis macro is also used to specify the field name of a structure. 1628*260e9a87SYuri Pankov.Pp 162995c635efSGarrett D'AmoreMost often, the 163095c635efSGarrett D'Amore.Sx \&Fa 163195c635efSGarrett D'Amoremacro is used in the 163295c635efSGarrett D'Amore.Em SYNOPSIS 163395c635efSGarrett D'Amorewithin 163495c635efSGarrett D'Amore.Sx \&Fo 1635*260e9a87SYuri Pankovblocks when documenting multi-line function prototypes. 163695c635efSGarrett D'AmoreIf invoked with multiple arguments, the arguments are separated by a 163795c635efSGarrett D'Amorecomma. 163895c635efSGarrett D'AmoreFurthermore, if the following macro is another 163995c635efSGarrett D'Amore.Sx \&Fa , 164095c635efSGarrett D'Amorethe last argument will also have a trailing comma. 164195c635efSGarrett D'Amore.Pp 164295c635efSGarrett D'AmoreExamples: 164395c635efSGarrett D'Amore.Dl \&.Fa \(dqconst char *p\(dq 164495c635efSGarrett D'Amore.Dl \&.Fa \(dqint a\(dq \(dqint b\(dq \(dqint c\(dq 1645*260e9a87SYuri Pankov.Dl \&.Fa \(dqchar *\(dq size_t 164695c635efSGarrett D'Amore.Pp 164795c635efSGarrett D'AmoreSee also 164895c635efSGarrett D'Amore.Sx \&Fo . 164995c635efSGarrett D'Amore.Ss \&Fc 165095c635efSGarrett D'AmoreEnd a function context started by 165195c635efSGarrett D'Amore.Sx \&Fo . 165295c635efSGarrett D'Amore.Ss \&Fd 1653*260e9a87SYuri PankovPreprocessor directive, in particular for listing it in the 1654*260e9a87SYuri Pankov.Em SYNOPSIS . 1655*260e9a87SYuri PankovHistorically, it was also used to document include files. 1656*260e9a87SYuri PankovThe latter usage has been deprecated in favour of 165795c635efSGarrett D'Amore.Sx \&In . 1658*260e9a87SYuri Pankov.Pp 1659*260e9a87SYuri PankovIts syntax is as follows: 1660*260e9a87SYuri Pankov.Bd -ragged -offset indent 1661*260e9a87SYuri Pankov.Pf \. Sx \&Fd 1662*260e9a87SYuri Pankov.Li # Ns Ar directive 1663*260e9a87SYuri Pankov.Op Ar argument ... 1664*260e9a87SYuri Pankov.Ed 1665*260e9a87SYuri Pankov.Pp 1666*260e9a87SYuri PankovExamples: 1667*260e9a87SYuri Pankov.Dl \&.Fd #define sa_handler __sigaction_u.__sa_handler 1668*260e9a87SYuri Pankov.Dl \&.Fd #define SIO_MAXNFDS 1669*260e9a87SYuri Pankov.Dl \&.Fd #ifdef FS_DEBUG 1670*260e9a87SYuri Pankov.Dl \&.Ft void 1671*260e9a87SYuri Pankov.Dl \&.Fn dbg_open \(dqconst char *\(dq 1672*260e9a87SYuri Pankov.Dl \&.Fd #endif 167395c635efSGarrett D'Amore.Pp 167495c635efSGarrett D'AmoreSee also 1675*260e9a87SYuri Pankov.Sx MANUAL STRUCTURE , 1676*260e9a87SYuri Pankov.Sx \&In , 167795c635efSGarrett D'Amoreand 1678*260e9a87SYuri Pankov.Sx \&Dv . 167995c635efSGarrett D'Amore.Ss \&Fl 168095c635efSGarrett D'AmoreCommand-line flag or option. 168195c635efSGarrett D'AmoreUsed when listing arguments to command-line utilities. 168295c635efSGarrett D'AmorePrints a fixed-width hyphen 168395c635efSGarrett D'Amore.Sq \- 168495c635efSGarrett D'Amoredirectly followed by each argument. 168595c635efSGarrett D'AmoreIf no arguments are provided, a hyphen is printed followed by a space. 168695c635efSGarrett D'AmoreIf the argument is a macro, a hyphen is prefixed to the subsequent macro 168795c635efSGarrett D'Amoreoutput. 168895c635efSGarrett D'Amore.Pp 168995c635efSGarrett D'AmoreExamples: 169095c635efSGarrett D'Amore.Dl ".Fl R Op Fl H | L | P" 169195c635efSGarrett D'Amore.Dl ".Op Fl 1AaCcdFfgHhikLlmnopqRrSsTtux" 169295c635efSGarrett D'Amore.Dl ".Fl type Cm d Fl name Pa CVS" 169395c635efSGarrett D'Amore.Dl ".Fl Ar signal_number" 169495c635efSGarrett D'Amore.Dl ".Fl o Fl" 169595c635efSGarrett D'Amore.Pp 169695c635efSGarrett D'AmoreSee also 169795c635efSGarrett D'Amore.Sx \&Cm . 169895c635efSGarrett D'Amore.Ss \&Fn 169995c635efSGarrett D'AmoreA function name. 170095c635efSGarrett D'AmoreIts syntax is as follows: 170195c635efSGarrett D'Amore.Bd -ragged -offset indent 170295c635efSGarrett D'Amore.Pf \. Ns Sx \&Fn 170395c635efSGarrett D'Amore.Op Ar functype 170495c635efSGarrett D'Amore.Ar funcname 170595c635efSGarrett D'Amore.Op Oo Ar argtype Oc Ar argname 170695c635efSGarrett D'Amore.Ed 170795c635efSGarrett D'Amore.Pp 170895c635efSGarrett D'AmoreFunction arguments are surrounded in parenthesis and 170995c635efSGarrett D'Amoreare delimited by commas. 171095c635efSGarrett D'AmoreIf no arguments are specified, blank parenthesis are output. 171195c635efSGarrett D'AmoreIn the 171295c635efSGarrett D'Amore.Em SYNOPSIS 171395c635efSGarrett D'Amoresection, this macro starts a new output line, 171495c635efSGarrett D'Amoreand a blank line is automatically inserted between function definitions. 171595c635efSGarrett D'Amore.Pp 171695c635efSGarrett D'AmoreExamples: 171795c635efSGarrett D'Amore.Dl \&.Fn \(dqint funcname\(dq \(dqint arg0\(dq \(dqint arg1\(dq 171895c635efSGarrett D'Amore.Dl \&.Fn funcname \(dqint arg0\(dq 171995c635efSGarrett D'Amore.Dl \&.Fn funcname arg0 172095c635efSGarrett D'Amore.Pp 172195c635efSGarrett D'Amore.Bd -literal -offset indent -compact 172295c635efSGarrett D'Amore\&.Ft functype 172395c635efSGarrett D'Amore\&.Fn funcname 172495c635efSGarrett D'Amore.Ed 172595c635efSGarrett D'Amore.Pp 172695c635efSGarrett D'AmoreWhen referring to a function documented in another manual page, use 172795c635efSGarrett D'Amore.Sx \&Xr 172895c635efSGarrett D'Amoreinstead. 172995c635efSGarrett D'AmoreSee also 173095c635efSGarrett D'Amore.Sx MANUAL STRUCTURE , 173195c635efSGarrett D'Amore.Sx \&Fo , 173295c635efSGarrett D'Amoreand 173395c635efSGarrett D'Amore.Sx \&Ft . 173495c635efSGarrett D'Amore.Ss \&Fo 173595c635efSGarrett D'AmoreBegin a function block. 173695c635efSGarrett D'AmoreThis is a multi-line version of 173795c635efSGarrett D'Amore.Sx \&Fn . 173895c635efSGarrett D'AmoreIts syntax is as follows: 173995c635efSGarrett D'Amore.Pp 174095c635efSGarrett D'Amore.D1 Pf \. Sx \&Fo Ar funcname 174195c635efSGarrett D'Amore.Pp 174295c635efSGarrett D'AmoreInvocations usually occur in the following context: 174395c635efSGarrett D'Amore.Bd -ragged -offset indent 174495c635efSGarrett D'Amore.Pf \. Sx \&Ft Ar functype 174595c635efSGarrett D'Amore.br 174695c635efSGarrett D'Amore.Pf \. Sx \&Fo Ar funcname 174795c635efSGarrett D'Amore.br 1748*260e9a87SYuri Pankov.Pf \. Sx \&Fa Qq Ar argtype Ar argname 174995c635efSGarrett D'Amore.br 175095c635efSGarrett D'Amore\&.\.\. 175195c635efSGarrett D'Amore.br 175295c635efSGarrett D'Amore.Pf \. Sx \&Fc 175395c635efSGarrett D'Amore.Ed 175495c635efSGarrett D'Amore.Pp 175595c635efSGarrett D'AmoreA 175695c635efSGarrett D'Amore.Sx \&Fo 175795c635efSGarrett D'Amorescope is closed by 175895c635efSGarrett D'Amore.Sx \&Fc . 175995c635efSGarrett D'Amore.Pp 176095c635efSGarrett D'AmoreSee also 176195c635efSGarrett D'Amore.Sx MANUAL STRUCTURE , 176295c635efSGarrett D'Amore.Sx \&Fa , 176395c635efSGarrett D'Amore.Sx \&Fc , 176495c635efSGarrett D'Amoreand 176595c635efSGarrett D'Amore.Sx \&Ft . 176695c635efSGarrett D'Amore.Ss \&Fr 1767*260e9a87SYuri PankovThis macro is obsolete. 1768*260e9a87SYuri PankovNo replacement markup is needed. 176995c635efSGarrett D'Amore.Pp 1770*260e9a87SYuri PankovIt was used to show numerical function return values in an italic font. 177195c635efSGarrett D'Amore.Ss \&Ft 177295c635efSGarrett D'AmoreA function type. 177395c635efSGarrett D'AmoreIts syntax is as follows: 177495c635efSGarrett D'Amore.Pp 177595c635efSGarrett D'Amore.D1 Pf \. Sx \&Ft Ar functype 177695c635efSGarrett D'Amore.Pp 177795c635efSGarrett D'AmoreIn the 177895c635efSGarrett D'Amore.Em SYNOPSIS 177995c635efSGarrett D'Amoresection, a new output line is started after this macro. 178095c635efSGarrett D'Amore.Pp 178195c635efSGarrett D'AmoreExamples: 178295c635efSGarrett D'Amore.Dl \&.Ft int 178395c635efSGarrett D'Amore.Bd -literal -offset indent -compact 178495c635efSGarrett D'Amore\&.Ft functype 178595c635efSGarrett D'Amore\&.Fn funcname 178695c635efSGarrett D'Amore.Ed 178795c635efSGarrett D'Amore.Pp 178895c635efSGarrett D'AmoreSee also 178995c635efSGarrett D'Amore.Sx MANUAL STRUCTURE , 179095c635efSGarrett D'Amore.Sx \&Fn , 179195c635efSGarrett D'Amoreand 179295c635efSGarrett D'Amore.Sx \&Fo . 179395c635efSGarrett D'Amore.Ss \&Fx 179495c635efSGarrett D'AmoreFormat the 179595c635efSGarrett D'Amore.Fx 179695c635efSGarrett D'Amoreversion provided as an argument, or a default value 179795c635efSGarrett D'Amoreif no argument is provided. 179895c635efSGarrett D'Amore.Pp 179995c635efSGarrett D'AmoreExamples: 180095c635efSGarrett D'Amore.Dl \&.Fx 7.1 180195c635efSGarrett D'Amore.Dl \&.Fx 180295c635efSGarrett D'Amore.Pp 180395c635efSGarrett D'AmoreSee also 180495c635efSGarrett D'Amore.Sx \&At , 180595c635efSGarrett D'Amore.Sx \&Bsx , 180695c635efSGarrett D'Amore.Sx \&Bx , 180795c635efSGarrett D'Amore.Sx \&Dx , 180895c635efSGarrett D'Amore.Sx \&Nx , 180995c635efSGarrett D'Amoreand 1810*260e9a87SYuri Pankov.Sx \&Ox . 181195c635efSGarrett D'Amore.Ss \&Hf 181295c635efSGarrett D'AmoreThis macro is not implemented in 181395c635efSGarrett D'Amore.Xr mandoc 1 . 181495c635efSGarrett D'Amore.Pp 181595c635efSGarrett D'AmoreIt was used to include the contents of a (header) file literally. 181695c635efSGarrett D'AmoreThe syntax was: 181795c635efSGarrett D'Amore.Pp 181895c635efSGarrett D'Amore.Dl Pf . Sx \&Hf Ar filename 181995c635efSGarrett D'Amore.Ss \&Ic 182095c635efSGarrett D'AmoreDesignate an internal or interactive command. 182195c635efSGarrett D'AmoreThis is similar to 182295c635efSGarrett D'Amore.Sx \&Cm 182395c635efSGarrett D'Amorebut used for instructions rather than values. 182495c635efSGarrett D'Amore.Pp 182595c635efSGarrett D'AmoreExamples: 182695c635efSGarrett D'Amore.Dl \&.Ic :wq 182795c635efSGarrett D'Amore.Dl \&.Ic hash 182895c635efSGarrett D'Amore.Dl \&.Ic alias 182995c635efSGarrett D'Amore.Pp 183095c635efSGarrett D'AmoreNote that using 183195c635efSGarrett D'Amore.Sx \&Bd Fl literal 183295c635efSGarrett D'Amoreor 183395c635efSGarrett D'Amore.Sx \&D1 183495c635efSGarrett D'Amoreis preferred for displaying code; the 183595c635efSGarrett D'Amore.Sx \&Ic 183695c635efSGarrett D'Amoremacro is used when referring to specific instructions. 183795c635efSGarrett D'Amore.Ss \&In 1838*260e9a87SYuri PankovThe name of an include file. 1839*260e9a87SYuri PankovThis macro is most often used in section 2, 3, and 9 manual pages. 1840*260e9a87SYuri Pankov.Pp 184195c635efSGarrett D'AmoreWhen invoked as the first macro on an input line in the 184295c635efSGarrett D'Amore.Em SYNOPSIS 184395c635efSGarrett D'Amoresection, the argument is displayed in angle brackets 184495c635efSGarrett D'Amoreand preceded by 1845*260e9a87SYuri Pankov.Qq #include , 184695c635efSGarrett D'Amoreand a blank line is inserted in front if there is a preceding 184795c635efSGarrett D'Amorefunction declaration. 1848*260e9a87SYuri PankovIn other sections, it only encloses its argument in angle brackets 1849*260e9a87SYuri Pankovand causes no line break. 185095c635efSGarrett D'Amore.Pp 185195c635efSGarrett D'AmoreExamples: 185295c635efSGarrett D'Amore.Dl \&.In sys/types.h 185395c635efSGarrett D'Amore.Pp 185495c635efSGarrett D'AmoreSee also 185595c635efSGarrett D'Amore.Sx MANUAL STRUCTURE . 185695c635efSGarrett D'Amore.Ss \&It 185795c635efSGarrett D'AmoreA list item. 185895c635efSGarrett D'AmoreThe syntax of this macro depends on the list type. 185995c635efSGarrett D'Amore.Pp 186095c635efSGarrett D'AmoreLists 186195c635efSGarrett D'Amoreof type 186295c635efSGarrett D'Amore.Fl hang , 186395c635efSGarrett D'Amore.Fl ohang , 186495c635efSGarrett D'Amore.Fl inset , 186595c635efSGarrett D'Amoreand 186695c635efSGarrett D'Amore.Fl diag 186795c635efSGarrett D'Amorehave the following syntax: 186895c635efSGarrett D'Amore.Pp 186995c635efSGarrett D'Amore.D1 Pf \. Sx \&It Ar args 187095c635efSGarrett D'Amore.Pp 187195c635efSGarrett D'AmoreLists of type 187295c635efSGarrett D'Amore.Fl bullet , 187395c635efSGarrett D'Amore.Fl dash , 187495c635efSGarrett D'Amore.Fl enum , 187595c635efSGarrett D'Amore.Fl hyphen 187695c635efSGarrett D'Amoreand 187795c635efSGarrett D'Amore.Fl item 187895c635efSGarrett D'Amorehave the following syntax: 187995c635efSGarrett D'Amore.Pp 188095c635efSGarrett D'Amore.D1 Pf \. Sx \&It 188195c635efSGarrett D'Amore.Pp 188295c635efSGarrett D'Amorewith subsequent lines interpreted within the scope of the 188395c635efSGarrett D'Amore.Sx \&It 188495c635efSGarrett D'Amoreuntil either a closing 188595c635efSGarrett D'Amore.Sx \&El 188695c635efSGarrett D'Amoreor another 188795c635efSGarrett D'Amore.Sx \&It . 188895c635efSGarrett D'Amore.Pp 188995c635efSGarrett D'AmoreThe 189095c635efSGarrett D'Amore.Fl tag 189195c635efSGarrett D'Amorelist has the following syntax: 189295c635efSGarrett D'Amore.Pp 189395c635efSGarrett D'Amore.D1 Pf \. Sx \&It Op Cm args 189495c635efSGarrett D'Amore.Pp 189595c635efSGarrett D'AmoreSubsequent lines are interpreted as with 189695c635efSGarrett D'Amore.Fl bullet 189795c635efSGarrett D'Amoreand family. 189895c635efSGarrett D'AmoreThe line arguments correspond to the list's left-hand side; body 189995c635efSGarrett D'Amorearguments correspond to the list's contents. 190095c635efSGarrett D'Amore.Pp 190195c635efSGarrett D'AmoreThe 190295c635efSGarrett D'Amore.Fl column 190395c635efSGarrett D'Amorelist is the most complicated. 190495c635efSGarrett D'AmoreIts syntax is as follows: 190595c635efSGarrett D'Amore.Pp 190695c635efSGarrett D'Amore.D1 Pf \. Sx \&It Ar cell Op <TAB> Ar cell ... 190795c635efSGarrett D'Amore.D1 Pf \. Sx \&It Ar cell Op Sx \&Ta Ar cell ... 190895c635efSGarrett D'Amore.Pp 190995c635efSGarrett D'AmoreThe arguments consist of one or more lines of text and macros 191095c635efSGarrett D'Amorerepresenting a complete table line. 191195c635efSGarrett D'AmoreCells within the line are delimited by tabs or by the special 191295c635efSGarrett D'Amore.Sx \&Ta 191395c635efSGarrett D'Amoreblock macro. 191495c635efSGarrett D'AmoreThe tab cell delimiter may only be used within the 191595c635efSGarrett D'Amore.Sx \&It 191695c635efSGarrett D'Amoreline itself; on following lines, only the 191795c635efSGarrett D'Amore.Sx \&Ta 191895c635efSGarrett D'Amoremacro can be used to delimit cells, and 191995c635efSGarrett D'Amore.Sx \&Ta 192095c635efSGarrett D'Amoreis only recognised as a macro when called by other macros, 192195c635efSGarrett D'Amorenot as the first macro on a line. 192295c635efSGarrett D'Amore.Pp 192395c635efSGarrett D'AmoreNote that quoted strings may span tab-delimited cells on an 192495c635efSGarrett D'Amore.Sx \&It 192595c635efSGarrett D'Amoreline. 192695c635efSGarrett D'AmoreFor example, 192795c635efSGarrett D'Amore.Pp 192895c635efSGarrett D'Amore.Dl .It \(dqcol1 ; <TAB> col2 ;\(dq \&; 192995c635efSGarrett D'Amore.Pp 193095c635efSGarrett D'Amorewill preserve the semicolon whitespace except for the last. 193195c635efSGarrett D'Amore.Pp 193295c635efSGarrett D'AmoreSee also 193395c635efSGarrett D'Amore.Sx \&Bl . 193495c635efSGarrett D'Amore.Ss \&Lb 193595c635efSGarrett D'AmoreSpecify a library. 193695c635efSGarrett D'AmoreThe syntax is as follows: 193795c635efSGarrett D'Amore.Pp 193895c635efSGarrett D'Amore.D1 Pf \. Sx \&Lb Ar library 193995c635efSGarrett D'Amore.Pp 194095c635efSGarrett D'AmoreThe 194195c635efSGarrett D'Amore.Ar library 194295c635efSGarrett D'Amoreparameter may be a system library, such as 194395c635efSGarrett D'Amore.Cm libz 194495c635efSGarrett D'Amoreor 194595c635efSGarrett D'Amore.Cm libpam , 194695c635efSGarrett D'Amorein which case a small library description is printed next to the linker 194795c635efSGarrett D'Amoreinvocation; or a custom library, in which case the library name is 194895c635efSGarrett D'Amoreprinted in quotes. 194995c635efSGarrett D'AmoreThis is most commonly used in the 195095c635efSGarrett D'Amore.Em SYNOPSIS 195195c635efSGarrett D'Amoresection as described in 195295c635efSGarrett D'Amore.Sx MANUAL STRUCTURE . 195395c635efSGarrett D'Amore.Pp 195495c635efSGarrett D'AmoreExamples: 195595c635efSGarrett D'Amore.Dl \&.Lb libz 195695c635efSGarrett D'Amore.Dl \&.Lb mdoc 195795c635efSGarrett D'Amore.Ss \&Li 195895c635efSGarrett D'AmoreDenotes text that should be in a 195995c635efSGarrett D'Amore.Li literal 196095c635efSGarrett D'Amorefont mode. 196195c635efSGarrett D'AmoreNote that this is a presentation term and should not be used for 196295c635efSGarrett D'Amorestylistically decorating technical terms. 196395c635efSGarrett D'Amore.Pp 196495c635efSGarrett D'AmoreOn terminal output devices, this is often indistinguishable from 196595c635efSGarrett D'Amorenormal text. 196695c635efSGarrett D'Amore.Pp 196795c635efSGarrett D'AmoreSee also 196895c635efSGarrett D'Amore.Sx \&Bf , 196995c635efSGarrett D'Amore.Sx \&Em , 197095c635efSGarrett D'Amore.Sx \&No , 197195c635efSGarrett D'Amoreand 197295c635efSGarrett D'Amore.Sx \&Sy . 197395c635efSGarrett D'Amore.Ss \&Lk 197495c635efSGarrett D'AmoreFormat a hyperlink. 197595c635efSGarrett D'AmoreIts syntax is as follows: 197695c635efSGarrett D'Amore.Pp 197795c635efSGarrett D'Amore.D1 Pf \. Sx \&Lk Ar uri Op Ar name 197895c635efSGarrett D'Amore.Pp 197995c635efSGarrett D'AmoreExamples: 198095c635efSGarrett D'Amore.Dl \&.Lk http://bsd.lv \(dqThe BSD.lv Project\(dq 198195c635efSGarrett D'Amore.Dl \&.Lk http://bsd.lv 198295c635efSGarrett D'Amore.Pp 198395c635efSGarrett D'AmoreSee also 198495c635efSGarrett D'Amore.Sx \&Mt . 198595c635efSGarrett D'Amore.Ss \&Lp 198695c635efSGarrett D'AmoreSynonym for 198795c635efSGarrett D'Amore.Sx \&Pp . 198895c635efSGarrett D'Amore.Ss \&Ms 198995c635efSGarrett D'AmoreDisplay a mathematical symbol. 199095c635efSGarrett D'AmoreIts syntax is as follows: 199195c635efSGarrett D'Amore.Pp 199295c635efSGarrett D'Amore.D1 Pf \. Sx \&Ms Ar symbol 199395c635efSGarrett D'Amore.Pp 199495c635efSGarrett D'AmoreExamples: 199595c635efSGarrett D'Amore.Dl \&.Ms sigma 199695c635efSGarrett D'Amore.Dl \&.Ms aleph 199795c635efSGarrett D'Amore.Ss \&Mt 199895c635efSGarrett D'AmoreFormat a 199995c635efSGarrett D'Amore.Dq mailto: 200095c635efSGarrett D'Amorehyperlink. 200195c635efSGarrett D'AmoreIts syntax is as follows: 200295c635efSGarrett D'Amore.Pp 200395c635efSGarrett D'Amore.D1 Pf \. Sx \&Mt Ar address 200495c635efSGarrett D'Amore.Pp 200595c635efSGarrett D'AmoreExamples: 200695c635efSGarrett D'Amore.Dl \&.Mt discuss@manpages.bsd.lv 2007*260e9a87SYuri Pankov.Dl \&.An Kristaps Dzonsons \&Aq \&Mt kristaps@bsd.lv 200895c635efSGarrett D'Amore.Ss \&Nd 200995c635efSGarrett D'AmoreA one line description of the manual's content. 2010*260e9a87SYuri PankovThis is the mandatory last macro of the 2011*260e9a87SYuri Pankov.Em NAME 2012*260e9a87SYuri Pankovsection and not appropriate for other sections. 201395c635efSGarrett D'Amore.Pp 201495c635efSGarrett D'AmoreExamples: 201595c635efSGarrett D'Amore.Dl Pf . Sx \&Nd mdoc language reference 201695c635efSGarrett D'Amore.Dl Pf . Sx \&Nd format and display UNIX manuals 201795c635efSGarrett D'Amore.Pp 201895c635efSGarrett D'AmoreThe 201995c635efSGarrett D'Amore.Sx \&Nd 202095c635efSGarrett D'Amoremacro technically accepts child macros and terminates with a subsequent 202195c635efSGarrett D'Amore.Sx \&Sh 202295c635efSGarrett D'Amoreinvocation. 202395c635efSGarrett D'AmoreDo not assume this behaviour: some 202495c635efSGarrett D'Amore.Xr whatis 1 202595c635efSGarrett D'Amoredatabase generators are not smart enough to parse more than the line 202695c635efSGarrett D'Amorearguments and will display macros verbatim. 202795c635efSGarrett D'Amore.Pp 202895c635efSGarrett D'AmoreSee also 202995c635efSGarrett D'Amore.Sx \&Nm . 203095c635efSGarrett D'Amore.Ss \&Nm 203195c635efSGarrett D'AmoreThe name of the manual page, or \(em in particular in section 1 2032*260e9a87SYuri Pankovpages \(em of an additional command or feature documented in 203395c635efSGarrett D'Amorethe manual page. 203495c635efSGarrett D'AmoreWhen first invoked, the 203595c635efSGarrett D'Amore.Sx \&Nm 203695c635efSGarrett D'Amoremacro expects a single argument, the name of the manual page. 203795c635efSGarrett D'AmoreUsually, the first invocation happens in the 203895c635efSGarrett D'Amore.Em NAME 203995c635efSGarrett D'Amoresection of the page. 204095c635efSGarrett D'AmoreThe specified name will be remembered and used whenever the macro is 204195c635efSGarrett D'Amorecalled again without arguments later in the page. 204295c635efSGarrett D'AmoreThe 204395c635efSGarrett D'Amore.Sx \&Nm 204495c635efSGarrett D'Amoremacro uses 204595c635efSGarrett D'Amore.Sx Block full-implicit 204695c635efSGarrett D'Amoresemantics when invoked as the first macro on an input line in the 204795c635efSGarrett D'Amore.Em SYNOPSIS 204895c635efSGarrett D'Amoresection; otherwise, it uses ordinary 204995c635efSGarrett D'Amore.Sx In-line 205095c635efSGarrett D'Amoresemantics. 205195c635efSGarrett D'Amore.Pp 205295c635efSGarrett D'AmoreExamples: 205395c635efSGarrett D'Amore.Bd -literal -offset indent 205495c635efSGarrett D'Amore\&.Sh SYNOPSIS 205595c635efSGarrett D'Amore\&.Nm cat 205695c635efSGarrett D'Amore\&.Op Fl benstuv 205795c635efSGarrett D'Amore\&.Op Ar 205895c635efSGarrett D'Amore.Ed 205995c635efSGarrett D'Amore.Pp 206095c635efSGarrett D'AmoreIn the 206195c635efSGarrett D'Amore.Em SYNOPSIS 206295c635efSGarrett D'Amoreof section 2, 3 and 9 manual pages, use the 206395c635efSGarrett D'Amore.Sx \&Fn 206495c635efSGarrett D'Amoremacro rather than 206595c635efSGarrett D'Amore.Sx \&Nm 206695c635efSGarrett D'Amoreto mark up the name of the manual page. 206795c635efSGarrett D'Amore.Ss \&No 206895c635efSGarrett D'AmoreNormal text. 206995c635efSGarrett D'AmoreCloses the scope of any preceding in-line macro. 207095c635efSGarrett D'AmoreWhen used after physical formatting macros like 207195c635efSGarrett D'Amore.Sx \&Em 207295c635efSGarrett D'Amoreor 207395c635efSGarrett D'Amore.Sx \&Sy , 207495c635efSGarrett D'Amoreswitches back to the standard font face and weight. 207595c635efSGarrett D'AmoreCan also be used to embed plain text strings in macro lines 207695c635efSGarrett D'Amoreusing semantic annotation macros. 207795c635efSGarrett D'Amore.Pp 207895c635efSGarrett D'AmoreExamples: 207995c635efSGarrett D'Amore.Dl ".Em italic , Sy bold , No and roman" 208095c635efSGarrett D'Amore.Pp 208195c635efSGarrett D'Amore.Bd -literal -offset indent -compact 208295c635efSGarrett D'Amore\&.Sm off 208395c635efSGarrett D'Amore\&.Cm :C No / Ar pattern No / Ar replacement No / 208495c635efSGarrett D'Amore\&.Sm on 208595c635efSGarrett D'Amore.Ed 208695c635efSGarrett D'Amore.Pp 208795c635efSGarrett D'AmoreSee also 208895c635efSGarrett D'Amore.Sx \&Em , 208995c635efSGarrett D'Amore.Sx \&Li , 209095c635efSGarrett D'Amoreand 209195c635efSGarrett D'Amore.Sx \&Sy . 209295c635efSGarrett D'Amore.Ss \&Ns 209395c635efSGarrett D'AmoreSuppress a space between the output of the preceding macro 209495c635efSGarrett D'Amoreand the following text or macro. 209595c635efSGarrett D'AmoreFollowing invocation, input is interpreted as normal text 209695c635efSGarrett D'Amorejust like after an 209795c635efSGarrett D'Amore.Sx \&No 209895c635efSGarrett D'Amoremacro. 209995c635efSGarrett D'Amore.Pp 210095c635efSGarrett D'AmoreThis has no effect when invoked at the start of a macro line. 210195c635efSGarrett D'Amore.Pp 210295c635efSGarrett D'AmoreExamples: 210395c635efSGarrett D'Amore.Dl ".Ar name Ns = Ns Ar value" 210495c635efSGarrett D'Amore.Dl ".Cm :M Ns Ar pattern" 210595c635efSGarrett D'Amore.Dl ".Fl o Ns Ar output" 210695c635efSGarrett D'Amore.Pp 210795c635efSGarrett D'AmoreSee also 210895c635efSGarrett D'Amore.Sx \&No 210995c635efSGarrett D'Amoreand 211095c635efSGarrett D'Amore.Sx \&Sm . 211195c635efSGarrett D'Amore.Ss \&Nx 211295c635efSGarrett D'AmoreFormat the 211395c635efSGarrett D'Amore.Nx 211495c635efSGarrett D'Amoreversion provided as an argument, or a default value if 211595c635efSGarrett D'Amoreno argument is provided. 211695c635efSGarrett D'Amore.Pp 211795c635efSGarrett D'AmoreExamples: 211895c635efSGarrett D'Amore.Dl \&.Nx 5.01 211995c635efSGarrett D'Amore.Dl \&.Nx 212095c635efSGarrett D'Amore.Pp 212195c635efSGarrett D'AmoreSee also 212295c635efSGarrett D'Amore.Sx \&At , 212395c635efSGarrett D'Amore.Sx \&Bsx , 212495c635efSGarrett D'Amore.Sx \&Bx , 212595c635efSGarrett D'Amore.Sx \&Dx , 212695c635efSGarrett D'Amore.Sx \&Fx , 212795c635efSGarrett D'Amoreand 2128*260e9a87SYuri Pankov.Sx \&Ox . 212995c635efSGarrett D'Amore.Ss \&Oc 213095c635efSGarrett D'AmoreClose multi-line 213195c635efSGarrett D'Amore.Sx \&Oo 213295c635efSGarrett D'Amorecontext. 213395c635efSGarrett D'Amore.Ss \&Oo 213495c635efSGarrett D'AmoreMulti-line version of 213595c635efSGarrett D'Amore.Sx \&Op . 213695c635efSGarrett D'Amore.Pp 213795c635efSGarrett D'AmoreExamples: 213895c635efSGarrett D'Amore.Bd -literal -offset indent -compact 213995c635efSGarrett D'Amore\&.Oo 214095c635efSGarrett D'Amore\&.Op Fl flag Ns Ar value 214195c635efSGarrett D'Amore\&.Oc 214295c635efSGarrett D'Amore.Ed 214395c635efSGarrett D'Amore.Ss \&Op 214495c635efSGarrett D'AmoreOptional part of a command line. 214595c635efSGarrett D'AmorePrints the argument(s) in brackets. 214695c635efSGarrett D'AmoreThis is most often used in the 214795c635efSGarrett D'Amore.Em SYNOPSIS 214895c635efSGarrett D'Amoresection of section 1 and 1M manual pages. 214995c635efSGarrett D'Amore.Pp 215095c635efSGarrett D'AmoreExamples: 215195c635efSGarrett D'Amore.Dl \&.Op \&Fl a \&Ar b 215295c635efSGarrett D'Amore.Dl \&.Op \&Ar a | b 215395c635efSGarrett D'Amore.Pp 215495c635efSGarrett D'AmoreSee also 215595c635efSGarrett D'Amore.Sx \&Oo . 215695c635efSGarrett D'Amore.Ss \&Os 2157*260e9a87SYuri PankovOperating system version for display in the page footer. 215895c635efSGarrett D'AmoreThis is the mandatory third macro of 215995c635efSGarrett D'Amoreany 216095c635efSGarrett D'Amore.Nm 216195c635efSGarrett D'Amorefile. 216295c635efSGarrett D'AmoreIts syntax is as follows: 216395c635efSGarrett D'Amore.Pp 216495c635efSGarrett D'Amore.D1 Pf \. Sx \&Os Op Ar system Op Ar version 216595c635efSGarrett D'Amore.Pp 216695c635efSGarrett D'AmoreThe optional 216795c635efSGarrett D'Amore.Ar system 216895c635efSGarrett D'Amoreparameter specifies the relevant operating system or environment. 2169*260e9a87SYuri PankovIt is suggested to leave it unspecified, in which case 2170*260e9a87SYuri Pankov.Xr mandoc 1 2171*260e9a87SYuri Pankovuses its 2172*260e9a87SYuri Pankov.Fl Ios 2173*260e9a87SYuri Pankovargument, or, if that isn't specified either, 2174*260e9a87SYuri Pankov.Fa sysname 2175*260e9a87SYuri Pankovand 2176*260e9a87SYuri Pankov.Fa release 2177*260e9a87SYuri Pankovas returned by 2178*260e9a87SYuri Pankov.Xr uname 3 . 217995c635efSGarrett D'Amore.Pp 218095c635efSGarrett D'AmoreExamples: 218195c635efSGarrett D'Amore.Dl \&.Os 218295c635efSGarrett D'Amore.Dl \&.Os KTH/CSC/TCS 218395c635efSGarrett D'Amore.Dl \&.Os BSD 4.3 218495c635efSGarrett D'Amore.Pp 218595c635efSGarrett D'AmoreSee also 218695c635efSGarrett D'Amore.Sx \&Dd 218795c635efSGarrett D'Amoreand 218895c635efSGarrett D'Amore.Sx \&Dt . 218995c635efSGarrett D'Amore.Ss \&Ot 2190*260e9a87SYuri PankovThis macro is obsolete. 2191*260e9a87SYuri PankovUse 2192*260e9a87SYuri Pankov.Sx \&Ft 2193*260e9a87SYuri Pankovinstead; with 2194*260e9a87SYuri Pankov.Xr mandoc 1 , 2195*260e9a87SYuri Pankovboth have the same effect. 219695c635efSGarrett D'Amore.Pp 219795c635efSGarrett D'AmoreHistorical 2198*260e9a87SYuri Pankov.Nm 219995c635efSGarrett D'Amorepackages described it as 220095c635efSGarrett D'Amore.Dq "old function type (FORTRAN)" . 220195c635efSGarrett D'Amore.Ss \&Ox 220295c635efSGarrett D'AmoreFormat the 220395c635efSGarrett D'Amore.Ox 220495c635efSGarrett D'Amoreversion provided as an argument, or a default value 220595c635efSGarrett D'Amoreif no argument is provided. 220695c635efSGarrett D'Amore.Pp 220795c635efSGarrett D'AmoreExamples: 220895c635efSGarrett D'Amore.Dl \&.Ox 4.5 220995c635efSGarrett D'Amore.Dl \&.Ox 221095c635efSGarrett D'Amore.Pp 221195c635efSGarrett D'AmoreSee also 221295c635efSGarrett D'Amore.Sx \&At , 221395c635efSGarrett D'Amore.Sx \&Bsx , 221495c635efSGarrett D'Amore.Sx \&Bx , 221595c635efSGarrett D'Amore.Sx \&Dx , 221695c635efSGarrett D'Amore.Sx \&Fx , 221795c635efSGarrett D'Amoreand 2218*260e9a87SYuri Pankov.Sx \&Nx . 221995c635efSGarrett D'Amore.Ss \&Pa 222095c635efSGarrett D'AmoreAn absolute or relative file system path, or a file or directory name. 222195c635efSGarrett D'AmoreIf an argument is not provided, the character 222295c635efSGarrett D'Amore.Sq \(ti 222395c635efSGarrett D'Amoreis used as a default. 222495c635efSGarrett D'Amore.Pp 222595c635efSGarrett D'AmoreExamples: 222695c635efSGarrett D'Amore.Dl \&.Pa /usr/bin/mandoc 222795c635efSGarrett D'Amore.Dl \&.Pa /usr/share/man/man5/mdoc.5 222895c635efSGarrett D'Amore.Pp 222995c635efSGarrett D'AmoreSee also 223095c635efSGarrett D'Amore.Sx \&Lk . 223195c635efSGarrett D'Amore.Ss \&Pc 223295c635efSGarrett D'AmoreClose parenthesised context opened by 223395c635efSGarrett D'Amore.Sx \&Po . 223495c635efSGarrett D'Amore.Ss \&Pf 223595c635efSGarrett D'AmoreRemoves the space between its argument 223695c635efSGarrett D'Amore.Pq Dq prefix 223795c635efSGarrett D'Amoreand the following macro. 223895c635efSGarrett D'AmoreIts syntax is as follows: 223995c635efSGarrett D'Amore.Pp 224095c635efSGarrett D'Amore.D1 .Pf Ar prefix macro arguments ... 224195c635efSGarrett D'Amore.Pp 224295c635efSGarrett D'AmoreThis is equivalent to: 224395c635efSGarrett D'Amore.Pp 224495c635efSGarrett D'Amore.D1 .No Ar prefix No \&Ns Ar macro arguments ... 224595c635efSGarrett D'Amore.Pp 224695c635efSGarrett D'AmoreExamples: 224795c635efSGarrett D'Amore.Dl ".Pf $ Ar variable_name" 224895c635efSGarrett D'Amore.Dl ".Pf 0x Ar hex_digits" 224995c635efSGarrett D'Amore.Pp 225095c635efSGarrett D'AmoreSee also 225195c635efSGarrett D'Amore.Sx \&Ns 225295c635efSGarrett D'Amoreand 225395c635efSGarrett D'Amore.Sx \&Sm . 225495c635efSGarrett D'Amore.Ss \&Po 225595c635efSGarrett D'AmoreMulti-line version of 225695c635efSGarrett D'Amore.Sx \&Pq . 225795c635efSGarrett D'Amore.Ss \&Pp 225895c635efSGarrett D'AmoreBreak a paragraph. 225995c635efSGarrett D'AmoreThis will assert vertical space between prior and subsequent macros 226095c635efSGarrett D'Amoreand/or text. 226195c635efSGarrett D'Amore.Pp 226295c635efSGarrett D'AmoreParagraph breaks are not needed before or after 226395c635efSGarrett D'Amore.Sx \&Sh 226495c635efSGarrett D'Amoreor 226595c635efSGarrett D'Amore.Sx \&Ss 226695c635efSGarrett D'Amoremacros or before displays 226795c635efSGarrett D'Amore.Pq Sx \&Bd 226895c635efSGarrett D'Amoreor lists 226995c635efSGarrett D'Amore.Pq Sx \&Bl 227095c635efSGarrett D'Amoreunless the 227195c635efSGarrett D'Amore.Fl compact 227295c635efSGarrett D'Amoreflag is given. 227395c635efSGarrett D'Amore.Ss \&Pq 227495c635efSGarrett D'AmoreParenthesised enclosure. 227595c635efSGarrett D'Amore.Pp 227695c635efSGarrett D'AmoreSee also 227795c635efSGarrett D'Amore.Sx \&Po . 227895c635efSGarrett D'Amore.Ss \&Qc 227995c635efSGarrett D'AmoreClose quoted context opened by 228095c635efSGarrett D'Amore.Sx \&Qo . 228195c635efSGarrett D'Amore.Ss \&Ql 2282*260e9a87SYuri PankovIn-line literal display. 2283*260e9a87SYuri PankovThis can for example be used for complete command invocations and 2284*260e9a87SYuri Pankovfor multi-word code fragments when more specific markup is not 2285*260e9a87SYuri Pankovappropriate and an indented display is not desired. 2286*260e9a87SYuri PankovWhile 2287*260e9a87SYuri Pankov.Xr mandoc 1 2288*260e9a87SYuri Pankovalways encloses the arguments in single quotes, other formatters 2289*260e9a87SYuri Pankovusually omit the quotes on non-terminal output devices when the 2290*260e9a87SYuri Pankovarguments have three or more characters. 2291*260e9a87SYuri Pankov.Pp 229295c635efSGarrett D'AmoreSee also 2293*260e9a87SYuri Pankov.Sx \&Dl 229495c635efSGarrett D'Amoreand 2295*260e9a87SYuri Pankov.Sx \&Bd 2296*260e9a87SYuri Pankov.Fl literal . 229795c635efSGarrett D'Amore.Ss \&Qo 229895c635efSGarrett D'AmoreMulti-line version of 229995c635efSGarrett D'Amore.Sx \&Qq . 230095c635efSGarrett D'Amore.Ss \&Qq 230195c635efSGarrett D'AmoreEncloses its arguments in 230295c635efSGarrett D'Amore.Qq typewriter 230395c635efSGarrett D'Amoredouble-quotes. 230495c635efSGarrett D'AmoreConsider using 230595c635efSGarrett D'Amore.Sx \&Dq . 230695c635efSGarrett D'Amore.Pp 230795c635efSGarrett D'AmoreSee also 230895c635efSGarrett D'Amore.Sx \&Dq , 230995c635efSGarrett D'Amore.Sx \&Sq , 231095c635efSGarrett D'Amoreand 231195c635efSGarrett D'Amore.Sx \&Qo . 231295c635efSGarrett D'Amore.Ss \&Re 231395c635efSGarrett D'AmoreClose an 231495c635efSGarrett D'Amore.Sx \&Rs 231595c635efSGarrett D'Amoreblock. 231695c635efSGarrett D'AmoreDoes not have any tail arguments. 231795c635efSGarrett D'Amore.Ss \&Rs 231895c635efSGarrett D'AmoreBegin a bibliographic 231995c635efSGarrett D'Amore.Pq Dq reference 232095c635efSGarrett D'Amoreblock. 232195c635efSGarrett D'AmoreDoes not have any head arguments. 232295c635efSGarrett D'AmoreThe block macro may only contain 232395c635efSGarrett D'Amore.Sx \&%A , 232495c635efSGarrett D'Amore.Sx \&%B , 232595c635efSGarrett D'Amore.Sx \&%C , 232695c635efSGarrett D'Amore.Sx \&%D , 232795c635efSGarrett D'Amore.Sx \&%I , 232895c635efSGarrett D'Amore.Sx \&%J , 232995c635efSGarrett D'Amore.Sx \&%N , 233095c635efSGarrett D'Amore.Sx \&%O , 233195c635efSGarrett D'Amore.Sx \&%P , 233295c635efSGarrett D'Amore.Sx \&%Q , 233395c635efSGarrett D'Amore.Sx \&%R , 233495c635efSGarrett D'Amore.Sx \&%T , 233595c635efSGarrett D'Amore.Sx \&%U , 233695c635efSGarrett D'Amoreand 233795c635efSGarrett D'Amore.Sx \&%V 233895c635efSGarrett D'Amorechild macros (at least one must be specified). 233995c635efSGarrett D'Amore.Pp 234095c635efSGarrett D'AmoreExamples: 234195c635efSGarrett D'Amore.Bd -literal -offset indent -compact 234295c635efSGarrett D'Amore\&.Rs 234395c635efSGarrett D'Amore\&.%A J. E. Hopcroft 234495c635efSGarrett D'Amore\&.%A J. D. Ullman 234595c635efSGarrett D'Amore\&.%B Introduction to Automata Theory, Languages, and Computation 234695c635efSGarrett D'Amore\&.%I Addison-Wesley 234795c635efSGarrett D'Amore\&.%C Reading, Massachusettes 234895c635efSGarrett D'Amore\&.%D 1979 234995c635efSGarrett D'Amore\&.Re 235095c635efSGarrett D'Amore.Ed 235195c635efSGarrett D'Amore.Pp 235295c635efSGarrett D'AmoreIf an 235395c635efSGarrett D'Amore.Sx \&Rs 235495c635efSGarrett D'Amoreblock is used within a SEE ALSO section, a vertical space is asserted 235595c635efSGarrett D'Amorebefore the rendered output, else the block continues on the current 235695c635efSGarrett D'Amoreline. 235795c635efSGarrett D'Amore.Ss \&Rv 235895c635efSGarrett D'AmoreInsert a standard sentence regarding a function call's return value of 0 235995c635efSGarrett D'Amoreon success and \-1 on error, with the 236095c635efSGarrett D'Amore.Va errno 236195c635efSGarrett D'Amorelibc global variable set on error. 236295c635efSGarrett D'AmoreIts syntax is as follows: 236395c635efSGarrett D'Amore.Pp 236495c635efSGarrett D'Amore.D1 Pf \. Sx \&Rv Fl std Op Ar function ... 236595c635efSGarrett D'Amore.Pp 236695c635efSGarrett D'AmoreIf 236795c635efSGarrett D'Amore.Ar function 236895c635efSGarrett D'Amoreis not specified, the document's name set by 236995c635efSGarrett D'Amore.Sx \&Nm 237095c635efSGarrett D'Amoreis used. 237195c635efSGarrett D'AmoreMultiple 237295c635efSGarrett D'Amore.Ar function 237395c635efSGarrett D'Amorearguments are treated as separate functions. 237495c635efSGarrett D'Amore.Pp 237595c635efSGarrett D'AmoreSee also 237695c635efSGarrett D'Amore.Sx \&Ex . 237795c635efSGarrett D'Amore.Ss \&Sc 237895c635efSGarrett D'AmoreClose single-quoted context opened by 237995c635efSGarrett D'Amore.Sx \&So . 238095c635efSGarrett D'Amore.Ss \&Sh 238195c635efSGarrett D'AmoreBegin a new section. 238295c635efSGarrett D'AmoreFor a list of conventional manual sections, see 238395c635efSGarrett D'Amore.Sx MANUAL STRUCTURE . 238495c635efSGarrett D'AmoreThese sections should be used unless it's absolutely necessary that 238595c635efSGarrett D'Amorecustom sections be used. 238695c635efSGarrett D'Amore.Pp 238795c635efSGarrett D'AmoreSection names should be unique so that they may be keyed by 238895c635efSGarrett D'Amore.Sx \&Sx . 238995c635efSGarrett D'AmoreAlthough this macro is parsed, it should not consist of child node or it 239095c635efSGarrett D'Amoremay not be linked with 239195c635efSGarrett D'Amore.Sx \&Sx . 239295c635efSGarrett D'Amore.Pp 239395c635efSGarrett D'AmoreSee also 239495c635efSGarrett D'Amore.Sx \&Pp , 239595c635efSGarrett D'Amore.Sx \&Ss , 239695c635efSGarrett D'Amoreand 239795c635efSGarrett D'Amore.Sx \&Sx . 239895c635efSGarrett D'Amore.Ss \&Sm 239995c635efSGarrett D'AmoreSwitches the spacing mode for output generated from macros. 240095c635efSGarrett D'AmoreIts syntax is as follows: 240195c635efSGarrett D'Amore.Pp 2402*260e9a87SYuri Pankov.D1 Pf \. Sx \&Sm Op Cm on | off 240395c635efSGarrett D'Amore.Pp 240495c635efSGarrett D'AmoreBy default, spacing is 240595c635efSGarrett D'Amore.Cm on . 240695c635efSGarrett D'AmoreWhen switched 240795c635efSGarrett D'Amore.Cm off , 240895c635efSGarrett D'Amoreno white space is inserted between macro arguments and between the 240995c635efSGarrett D'Amoreoutput generated from adjacent macros, but text lines 241095c635efSGarrett D'Amorestill get normal spacing between words and sentences. 2411*260e9a87SYuri Pankov.Pp 2412*260e9a87SYuri PankovWhen called without an argument, the 2413*260e9a87SYuri Pankov.Sx \&Sm 2414*260e9a87SYuri Pankovmacro toggles the spacing mode. 2415*260e9a87SYuri PankovUsing this is not recommended because it makes the code harder to read. 241695c635efSGarrett D'Amore.Ss \&So 241795c635efSGarrett D'AmoreMulti-line version of 241895c635efSGarrett D'Amore.Sx \&Sq . 241995c635efSGarrett D'Amore.Ss \&Sq 242095c635efSGarrett D'AmoreEncloses its arguments in 242195c635efSGarrett D'Amore.Sq typewriter 242295c635efSGarrett D'Amoresingle-quotes. 242395c635efSGarrett D'Amore.Pp 242495c635efSGarrett D'AmoreSee also 242595c635efSGarrett D'Amore.Sx \&Dq , 242695c635efSGarrett D'Amore.Sx \&Qq , 242795c635efSGarrett D'Amoreand 242895c635efSGarrett D'Amore.Sx \&So . 242995c635efSGarrett D'Amore.Ss \&Ss 243095c635efSGarrett D'AmoreBegin a new subsection. 243195c635efSGarrett D'AmoreUnlike with 243295c635efSGarrett D'Amore.Sx \&Sh , 243395c635efSGarrett D'Amorethere is no convention for the naming of subsections. 243495c635efSGarrett D'AmoreExcept 243595c635efSGarrett D'Amore.Em DESCRIPTION , 243695c635efSGarrett D'Amorethe conventional sections described in 243795c635efSGarrett D'Amore.Sx MANUAL STRUCTURE 243895c635efSGarrett D'Amorerarely have subsections. 243995c635efSGarrett D'Amore.Pp 244095c635efSGarrett D'AmoreSub-section names should be unique so that they may be keyed by 244195c635efSGarrett D'Amore.Sx \&Sx . 244295c635efSGarrett D'AmoreAlthough this macro is parsed, it should not consist of child node or it 244395c635efSGarrett D'Amoremay not be linked with 244495c635efSGarrett D'Amore.Sx \&Sx . 244595c635efSGarrett D'Amore.Pp 244695c635efSGarrett D'AmoreSee also 244795c635efSGarrett D'Amore.Sx \&Pp , 244895c635efSGarrett D'Amore.Sx \&Sh , 244995c635efSGarrett D'Amoreand 245095c635efSGarrett D'Amore.Sx \&Sx . 245195c635efSGarrett D'Amore.Ss \&St 245295c635efSGarrett D'AmoreReplace an abbreviation for a standard with the full form. 2453*260e9a87SYuri PankovThe following standards are recognised. 2454*260e9a87SYuri PankovWhere multiple lines are given without a blank line in between, 2455*260e9a87SYuri Pankovthey all refer to the same standard, and using the first form 2456*260e9a87SYuri Pankovis recommended. 2457*260e9a87SYuri Pankov.Bl -tag -width 1n 2458*260e9a87SYuri Pankov.It C language standards 245995c635efSGarrett D'Amore.Pp 2460*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 246195c635efSGarrett D'Amore.It \-ansiC 246295c635efSGarrett D'Amore.St -ansiC 246395c635efSGarrett D'Amore.It \-ansiC-89 246495c635efSGarrett D'Amore.St -ansiC-89 2465*260e9a87SYuri Pankov.It \-isoC 2466*260e9a87SYuri Pankov.St -isoC 2467*260e9a87SYuri Pankov.It \-isoC-90 2468*260e9a87SYuri Pankov.St -isoC-90 2469*260e9a87SYuri Pankov.br 2470*260e9a87SYuri PankovThe original C standard. 2471*260e9a87SYuri Pankov.Pp 2472*260e9a87SYuri Pankov.It \-isoC-amd1 2473*260e9a87SYuri Pankov.St -isoC-amd1 2474*260e9a87SYuri Pankov.Pp 2475*260e9a87SYuri Pankov.It \-isoC-tcor1 2476*260e9a87SYuri Pankov.St -isoC-tcor1 2477*260e9a87SYuri Pankov.Pp 2478*260e9a87SYuri Pankov.It \-isoC-tcor2 2479*260e9a87SYuri Pankov.St -isoC-tcor2 2480*260e9a87SYuri Pankov.Pp 2481*260e9a87SYuri Pankov.It \-isoC-99 2482*260e9a87SYuri Pankov.St -isoC-99 2483*260e9a87SYuri Pankov.br 2484*260e9a87SYuri PankovThe second major version of the C language standard. 2485*260e9a87SYuri Pankov.Pp 2486*260e9a87SYuri Pankov.It \-isoC-2011 2487*260e9a87SYuri Pankov.St -isoC-2011 2488*260e9a87SYuri Pankov.br 2489*260e9a87SYuri PankovThe third major version of the C language standard. 2490*260e9a87SYuri Pankov.El 2491*260e9a87SYuri Pankov.It POSIX.1 before the Single UNIX Specification 2492*260e9a87SYuri Pankov.Pp 2493*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 2494*260e9a87SYuri Pankov.It \-p1003.1-88 2495*260e9a87SYuri Pankov.St -p1003.1-88 2496*260e9a87SYuri Pankov.It \-p1003.1 2497*260e9a87SYuri Pankov.St -p1003.1 2498*260e9a87SYuri Pankov.br 2499*260e9a87SYuri PankovThe original POSIX standard, based on ANSI C. 2500*260e9a87SYuri Pankov.Pp 2501*260e9a87SYuri Pankov.It \-p1003.1-90 2502*260e9a87SYuri Pankov.St -p1003.1-90 2503*260e9a87SYuri Pankov.It \-iso9945-1-90 2504*260e9a87SYuri Pankov.St -iso9945-1-90 2505*260e9a87SYuri Pankov.br 2506*260e9a87SYuri PankovThe first update of POSIX.1. 2507*260e9a87SYuri Pankov.Pp 2508*260e9a87SYuri Pankov.It \-p1003.1b-93 2509*260e9a87SYuri Pankov.St -p1003.1b-93 2510*260e9a87SYuri Pankov.It \-p1003.1b 2511*260e9a87SYuri Pankov.St -p1003.1b 2512*260e9a87SYuri Pankov.br 2513*260e9a87SYuri PankovReal-time extensions. 2514*260e9a87SYuri Pankov.Pp 2515*260e9a87SYuri Pankov.It \-p1003.1c-95 2516*260e9a87SYuri Pankov.St -p1003.1c-95 2517*260e9a87SYuri Pankov.br 2518*260e9a87SYuri PankovPOSIX thread interfaces. 2519*260e9a87SYuri Pankov.Pp 2520*260e9a87SYuri Pankov.It \-p1003.1i-95 2521*260e9a87SYuri Pankov.St -p1003.1i-95 2522*260e9a87SYuri Pankov.br 2523*260e9a87SYuri PankovTechnical Corrigendum. 2524*260e9a87SYuri Pankov.Pp 2525*260e9a87SYuri Pankov.It \-p1003.1-96 2526*260e9a87SYuri Pankov.St -p1003.1-96 2527*260e9a87SYuri Pankov.It \-iso9945-1-96 2528*260e9a87SYuri Pankov.St -iso9945-1-96 2529*260e9a87SYuri Pankov.br 2530*260e9a87SYuri PankovIncludes POSIX.1-1990, 1b, 1c, and 1i. 2531*260e9a87SYuri Pankov.El 2532*260e9a87SYuri Pankov.It X/Open Portability Guide version 4 and related standards 2533*260e9a87SYuri Pankov.Pp 2534*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 253595c635efSGarrett D'Amore.It \-xpg3 253695c635efSGarrett D'Amore.St -xpg3 2537*260e9a87SYuri Pankov.br 2538*260e9a87SYuri PankovAn XPG4 precursor, published in 1989. 2539*260e9a87SYuri Pankov.Pp 2540*260e9a87SYuri Pankov.It \-p1003.2 2541*260e9a87SYuri Pankov.St -p1003.2 2542*260e9a87SYuri Pankov.It \-p1003.2-92 2543*260e9a87SYuri Pankov.St -p1003.2-92 2544*260e9a87SYuri Pankov.It \-iso9945-2-93 2545*260e9a87SYuri Pankov.St -iso9945-2-93 2546*260e9a87SYuri Pankov.br 2547*260e9a87SYuri PankovAn XCU4 precursor. 2548*260e9a87SYuri Pankov.Pp 2549*260e9a87SYuri Pankov.It \-p1003.2a-92 2550*260e9a87SYuri Pankov.St -p1003.2a-92 2551*260e9a87SYuri Pankov.br 2552*260e9a87SYuri PankovUpdates to POSIX.2. 2553*260e9a87SYuri Pankov.Pp 255495c635efSGarrett D'Amore.It \-xpg4 255595c635efSGarrett D'Amore.St -xpg4 2556*260e9a87SYuri Pankov.br 2557*260e9a87SYuri PankovBased on POSIX.1 and POSIX.2, published in 1992. 2558*260e9a87SYuri Pankov.El 2559*260e9a87SYuri Pankov.It Single UNIX Specification version 1 and related standards 2560*260e9a87SYuri Pankov.Pp 2561*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 2562*260e9a87SYuri Pankov.It \-susv1 2563*260e9a87SYuri Pankov.St -susv1 256495c635efSGarrett D'Amore.It \-xpg4.2 256595c635efSGarrett D'Amore.St -xpg4.2 2566*260e9a87SYuri Pankov.br 2567*260e9a87SYuri PankovThis standard was published in 1994. 2568*260e9a87SYuri PankovIt was used as the basis for UNIX 95 certification. 2569*260e9a87SYuri PankovThe following three refer to parts of it. 2570*260e9a87SYuri Pankov.Pp 2571*260e9a87SYuri Pankov.It \-xsh4.2 2572*260e9a87SYuri Pankov.St -xsh4.2 2573*260e9a87SYuri Pankov.Pp 2574*260e9a87SYuri Pankov.It \-xcurses4.2 2575*260e9a87SYuri Pankov.St -xcurses4.2 2576*260e9a87SYuri Pankov.Pp 2577*260e9a87SYuri Pankov.It \-p1003.1g-2000 2578*260e9a87SYuri Pankov.St -p1003.1g-2000 2579*260e9a87SYuri Pankov.br 2580*260e9a87SYuri PankovNetworking APIs, including sockets. 2581*260e9a87SYuri Pankov.Pp 2582*260e9a87SYuri Pankov.It \-svid4 2583*260e9a87SYuri Pankov.St -svid4 , 2584*260e9a87SYuri Pankov.br 2585*260e9a87SYuri PankovPublished in 1995. 2586*260e9a87SYuri Pankov.El 2587*260e9a87SYuri Pankov.It Single UNIX Specification version 2 and related standards 2588*260e9a87SYuri Pankov.Pp 2589*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 2590*260e9a87SYuri Pankov.It \-susv2 2591*260e9a87SYuri Pankov.St -susv2 2592*260e9a87SYuri PankovThis Standard was published in 1997 2593*260e9a87SYuri Pankovand is also called X/Open Portability Guide version 5. 2594*260e9a87SYuri PankovIt was used as the basis for UNIX 98 certification. 2595*260e9a87SYuri PankovThe following refer to parts of it. 2596*260e9a87SYuri Pankov.Pp 259795c635efSGarrett D'Amore.It \-xbd5 259895c635efSGarrett D'Amore.St -xbd5 2599*260e9a87SYuri Pankov.Pp 260095c635efSGarrett D'Amore.It \-xsh5 260195c635efSGarrett D'Amore.St -xsh5 2602*260e9a87SYuri Pankov.Pp 2603*260e9a87SYuri Pankov.It \-xcu5 2604*260e9a87SYuri Pankov.St -xcu5 2605*260e9a87SYuri Pankov.Pp 260695c635efSGarrett D'Amore.It \-xns5 260795c635efSGarrett D'Amore.St -xns5 260895c635efSGarrett D'Amore.It \-xns5.2 260995c635efSGarrett D'Amore.St -xns5.2 2610*260e9a87SYuri Pankov.El 2611*260e9a87SYuri Pankov.It Single UNIX Specification version 3 2612*260e9a87SYuri Pankov.Pp 2613*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1-2001" -compact 2614*260e9a87SYuri Pankov.It \-p1003.1-2001 2615*260e9a87SYuri Pankov.St -p1003.1-2001 261695c635efSGarrett D'Amore.It \-susv3 261795c635efSGarrett D'Amore.St -susv3 2618*260e9a87SYuri Pankov.br 2619*260e9a87SYuri PankovThis standard is based on C99, SUSv2, POSIX.1-1996, 1d, and 1j. 2620*260e9a87SYuri PankovIt is also called X/Open Portability Guide version 6. 2621*260e9a87SYuri PankovIt is used as the basis for UNIX 03 certification. 2622*260e9a87SYuri Pankov.Pp 2623*260e9a87SYuri Pankov.It \-p1003.1-2004 2624*260e9a87SYuri Pankov.St -p1003.1-2004 2625*260e9a87SYuri Pankov.br 2626*260e9a87SYuri PankovThe second and last Technical Corrigendum. 2627*260e9a87SYuri Pankov.El 2628*260e9a87SYuri Pankov.It Single UNIX Specification version 4 2629*260e9a87SYuri Pankov.Pp 2630*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 2631*260e9a87SYuri Pankov.It \-p1003.1-2008 2632*260e9a87SYuri Pankov.St -p1003.1-2008 2633*260e9a87SYuri Pankov.It \-susv4 2634*260e9a87SYuri Pankov.St -susv4 2635*260e9a87SYuri Pankov.br 2636*260e9a87SYuri PankovThis standard is also called 2637*260e9a87SYuri PankovX/Open Portability Guide version 7. 2638*260e9a87SYuri Pankov.Pp 2639*260e9a87SYuri Pankov.It \-p1003.1-2013 2640*260e9a87SYuri Pankov.St -p1003.1-2013 2641*260e9a87SYuri Pankov.br 2642*260e9a87SYuri PankovThis is the first Technical Corrigendum. 2643*260e9a87SYuri Pankov.El 2644*260e9a87SYuri Pankov.It Other standards 2645*260e9a87SYuri Pankov.Pp 2646*260e9a87SYuri Pankov.Bl -tag -width "-p1003.1g-2000" -compact 2647*260e9a87SYuri Pankov.It \-ieee754 2648*260e9a87SYuri Pankov.St -ieee754 2649*260e9a87SYuri Pankov.br 2650*260e9a87SYuri PankovFloating-point arithmetic. 2651*260e9a87SYuri Pankov.Pp 2652*260e9a87SYuri Pankov.It \-iso8601 2653*260e9a87SYuri Pankov.St -iso8601 2654*260e9a87SYuri Pankov.br 2655*260e9a87SYuri PankovRepresentation of dates and times, published in 1988. 2656*260e9a87SYuri Pankov.Pp 2657*260e9a87SYuri Pankov.It \-iso8802-3 2658*260e9a87SYuri Pankov.St -iso8802-3 2659*260e9a87SYuri Pankov.br 2660*260e9a87SYuri PankovEthernet local area networks. 2661*260e9a87SYuri Pankov.Pp 2662*260e9a87SYuri Pankov.It \-ieee1275-94 2663*260e9a87SYuri Pankov.St -ieee1275-94 2664*260e9a87SYuri Pankov.El 266595c635efSGarrett D'Amore.El 266695c635efSGarrett D'Amore.Ss \&Sx 266795c635efSGarrett D'AmoreReference a section or subsection in the same manual page. 266895c635efSGarrett D'AmoreThe referenced section or subsection name must be identical to the 266995c635efSGarrett D'Amoreenclosed argument, including whitespace. 267095c635efSGarrett D'Amore.Pp 267195c635efSGarrett D'AmoreExamples: 267295c635efSGarrett D'Amore.Dl \&.Sx MANUAL STRUCTURE 267395c635efSGarrett D'Amore.Pp 267495c635efSGarrett D'AmoreSee also 267595c635efSGarrett D'Amore.Sx \&Sh 267695c635efSGarrett D'Amoreand 267795c635efSGarrett D'Amore.Sx \&Ss . 267895c635efSGarrett D'Amore.Ss \&Sy 2679*260e9a87SYuri PankovRequest a boldface font. 2680*260e9a87SYuri Pankov.Pp 2681*260e9a87SYuri PankovThis is most often used to indicate importance or seriousness (not to be 2682*260e9a87SYuri Pankovconfused with stress emphasis, see 2683*260e9a87SYuri Pankov.Sx \&Em ) . 2684*260e9a87SYuri PankovWhen none of the semantic macros fit, it is also adequate for syntax 2685*260e9a87SYuri Pankovelements that have to be given or that appear verbatim. 2686*260e9a87SYuri Pankov.Pp 2687*260e9a87SYuri PankovExamples: 2688*260e9a87SYuri Pankov.Bd -literal -compact -offset indent 2689*260e9a87SYuri Pankov\&.Sy Warning : 2690*260e9a87SYuri PankovIf 2691*260e9a87SYuri Pankov\&.Sy s 2692*260e9a87SYuri Pankovappears in the owner permissions, set-user-ID mode is set. 2693*260e9a87SYuri PankovThis utility replaces the former 2694*260e9a87SYuri Pankov\&.Sy dumpdir 2695*260e9a87SYuri Pankovprogram. 2696*260e9a87SYuri Pankov.Ed 269795c635efSGarrett D'Amore.Pp 269895c635efSGarrett D'AmoreSee also 269995c635efSGarrett D'Amore.Sx \&Bf , 270095c635efSGarrett D'Amore.Sx \&Em , 270195c635efSGarrett D'Amore.Sx \&Li , 270295c635efSGarrett D'Amoreand 270395c635efSGarrett D'Amore.Sx \&No . 270495c635efSGarrett D'Amore.Ss \&Ta 270595c635efSGarrett D'AmoreTable cell separator in 270695c635efSGarrett D'Amore.Sx \&Bl Fl column 270795c635efSGarrett D'Amorelists; can only be used below 270895c635efSGarrett D'Amore.Sx \&It . 270995c635efSGarrett D'Amore.Ss \&Tn 2710*260e9a87SYuri PankovSupported only for compatibility, do not use this in new manuals. 2711*260e9a87SYuri PankovEven though the macro name 2712*260e9a87SYuri Pankov.Pq Dq tradename 2713*260e9a87SYuri Pankovsuggests a semantic function, historic usage is inconsistent, mostly 2714*260e9a87SYuri Pankovusing it as a presentation-level macro to request a small caps font. 271595c635efSGarrett D'Amore.Ss \&Ud 2716*260e9a87SYuri PankovSupported only for compatibility, do not use this in new manuals. 271795c635efSGarrett D'AmorePrints out 271895c635efSGarrett D'Amore.Dq currently under development. 271995c635efSGarrett D'Amore.Ss \&Ux 2720*260e9a87SYuri PankovSupported only for compatibility, do not use this in new manuals. 2721*260e9a87SYuri PankovPrints out 2722*260e9a87SYuri Pankov.Dq Ux . 272395c635efSGarrett D'Amore.Ss \&Va 272495c635efSGarrett D'AmoreA variable name. 272595c635efSGarrett D'Amore.Pp 272695c635efSGarrett D'AmoreExamples: 272795c635efSGarrett D'Amore.Dl \&.Va foo 272895c635efSGarrett D'Amore.Dl \&.Va const char *bar ; 2729*260e9a87SYuri Pankov.Pp 2730*260e9a87SYuri PankovFor function arguments and parameters, use 2731*260e9a87SYuri Pankov.Sx \&Fa 2732*260e9a87SYuri Pankovinstead. 2733*260e9a87SYuri PankovFor declarations of global variables in the 2734*260e9a87SYuri Pankov.Em SYNOPSIS 2735*260e9a87SYuri Pankovsection, use 2736*260e9a87SYuri Pankov.Sx \&Vt . 273795c635efSGarrett D'Amore.Ss \&Vt 273895c635efSGarrett D'AmoreA variable type. 2739*260e9a87SYuri Pankov.Pp 274095c635efSGarrett D'AmoreThis is also used for indicating global variables in the 274195c635efSGarrett D'Amore.Em SYNOPSIS 274295c635efSGarrett D'Amoresection, in which case a variable name is also specified. 274395c635efSGarrett D'AmoreNote that it accepts 274495c635efSGarrett D'Amore.Sx Block partial-implicit 274595c635efSGarrett D'Amoresyntax when invoked as the first macro on an input line in the 274695c635efSGarrett D'Amore.Em SYNOPSIS 274795c635efSGarrett D'Amoresection, else it accepts ordinary 274895c635efSGarrett D'Amore.Sx In-line 274995c635efSGarrett D'Amoresyntax. 275095c635efSGarrett D'AmoreIn the former case, this macro starts a new output line, 275195c635efSGarrett D'Amoreand a blank line is inserted in front if there is a preceding 275295c635efSGarrett D'Amorefunction definition or include directive. 275395c635efSGarrett D'Amore.Pp 275495c635efSGarrett D'AmoreExamples: 275595c635efSGarrett D'Amore.Dl \&.Vt unsigned char 275695c635efSGarrett D'Amore.Dl \&.Vt extern const char * const sys_signame[] \&; 275795c635efSGarrett D'Amore.Pp 2758*260e9a87SYuri PankovFor parameters in function prototypes, use 2759*260e9a87SYuri Pankov.Sx \&Fa 2760*260e9a87SYuri Pankovinstead, for function return types 2761*260e9a87SYuri Pankov.Sx \&Ft , 2762*260e9a87SYuri Pankovand for variable names outside the 2763*260e9a87SYuri Pankov.Em SYNOPSIS 2764*260e9a87SYuri Pankovsection 2765*260e9a87SYuri Pankov.Sx \&Va , 2766*260e9a87SYuri Pankoveven when including a type with the name. 276795c635efSGarrett D'AmoreSee also 2768*260e9a87SYuri Pankov.Sx MANUAL STRUCTURE . 276995c635efSGarrett D'Amore.Ss \&Xc 277095c635efSGarrett D'AmoreClose a scope opened by 277195c635efSGarrett D'Amore.Sx \&Xo . 277295c635efSGarrett D'Amore.Ss \&Xo 277395c635efSGarrett D'AmoreExtend the header of an 277495c635efSGarrett D'Amore.Sx \&It 277595c635efSGarrett D'Amoremacro or the body of a partial-implicit block macro 277695c635efSGarrett D'Amorebeyond the end of the input line. 277795c635efSGarrett D'AmoreThis macro originally existed to work around the 9-argument limit 277895c635efSGarrett D'Amoreof historic 2779*260e9a87SYuri Pankov.Xr mandoc_roff 5 . 278095c635efSGarrett D'Amore.Ss \&Xr 278195c635efSGarrett D'AmoreLink to another manual 278295c635efSGarrett D'Amore.Pq Qq cross-reference . 278395c635efSGarrett D'AmoreIts syntax is as follows: 278495c635efSGarrett D'Amore.Pp 2785*260e9a87SYuri Pankov.D1 Pf \. Sx \&Xr Ar name Op section 278695c635efSGarrett D'Amore.Pp 2787*260e9a87SYuri PankovCross reference the 278895c635efSGarrett D'Amore.Ar name 278995c635efSGarrett D'Amoreand 279095c635efSGarrett D'Amore.Ar section 2791*260e9a87SYuri Pankovnumber of another man page; 2792*260e9a87SYuri Pankovomitting the section number is rarely useful. 279395c635efSGarrett D'Amore.Pp 279495c635efSGarrett D'AmoreExamples: 279595c635efSGarrett D'Amore.Dl \&.Xr mandoc 1 279695c635efSGarrett D'Amore.Dl \&.Xr mandoc 1 \&; 279795c635efSGarrett D'Amore.Dl \&.Xr mandoc 1 \&Ns s behaviour 279895c635efSGarrett D'Amore.Ss \&br 279995c635efSGarrett D'AmoreEmits a line-break. 280095c635efSGarrett D'AmoreThis macro should not be used; it is implemented for compatibility with 280195c635efSGarrett D'Amorehistorical manuals. 280295c635efSGarrett D'Amore.Pp 280395c635efSGarrett D'AmoreConsider using 280495c635efSGarrett D'Amore.Sx \&Pp 280595c635efSGarrett D'Amorein the event of natural paragraph breaks. 280695c635efSGarrett D'Amore.Ss \&sp 280795c635efSGarrett D'AmoreEmits vertical space. 280895c635efSGarrett D'AmoreThis macro should not be used; it is implemented for compatibility with 280995c635efSGarrett D'Amorehistorical manuals. 281095c635efSGarrett D'AmoreIts syntax is as follows: 281195c635efSGarrett D'Amore.Pp 281295c635efSGarrett D'Amore.D1 Pf \. Sx \&sp Op Ar height 281395c635efSGarrett D'Amore.Pp 281495c635efSGarrett D'AmoreThe 281595c635efSGarrett D'Amore.Ar height 2816*260e9a87SYuri Pankovargument is a scaling width as described in 2817*260e9a87SYuri Pankov.Xr mandoc_roff 5 . 281895c635efSGarrett D'AmoreIf unspecified, 281995c635efSGarrett D'Amore.Sx \&sp 282095c635efSGarrett D'Amoreasserts a single vertical space. 282195c635efSGarrett D'Amore.Sh MACRO SYNTAX 282295c635efSGarrett D'AmoreThe syntax of a macro depends on its classification. 282395c635efSGarrett D'AmoreIn this section, 282495c635efSGarrett D'Amore.Sq \-arg 282595c635efSGarrett D'Amorerefers to macro arguments, which may be followed by zero or more 282695c635efSGarrett D'Amore.Sq parm 282795c635efSGarrett D'Amoreparameters; 282895c635efSGarrett D'Amore.Sq \&Yo 282995c635efSGarrett D'Amoreopens the scope of a macro; and if specified, 283095c635efSGarrett D'Amore.Sq \&Yc 283195c635efSGarrett D'Amorecloses it out. 283295c635efSGarrett D'Amore.Pp 283395c635efSGarrett D'AmoreThe 283495c635efSGarrett D'Amore.Em Callable 283595c635efSGarrett D'Amorecolumn indicates that the macro may also be called by passing its name 283695c635efSGarrett D'Amoreas an argument to another macro. 283795c635efSGarrett D'AmoreFor example, 283895c635efSGarrett D'Amore.Sq \&.Op \&Fl O \&Ar file 283995c635efSGarrett D'Amoreproduces 284095c635efSGarrett D'Amore.Sq Op Fl O Ar file . 284195c635efSGarrett D'AmoreTo prevent a macro call and render the macro name literally, 284295c635efSGarrett D'Amoreescape it by prepending a zero-width space, 284395c635efSGarrett D'Amore.Sq \e& . 284495c635efSGarrett D'AmoreFor example, 284595c635efSGarrett D'Amore.Sq \&Op \e&Fl O 284695c635efSGarrett D'Amoreproduces 284795c635efSGarrett D'Amore.Sq Op \&Fl O . 284895c635efSGarrett D'AmoreIf a macro is not callable but its name appears as an argument 284995c635efSGarrett D'Amoreto another macro, it is interpreted as opaque text. 285095c635efSGarrett D'AmoreFor example, 285195c635efSGarrett D'Amore.Sq \&.Fl \&Sh 285295c635efSGarrett D'Amoreproduces 285395c635efSGarrett D'Amore.Sq Fl \&Sh . 285495c635efSGarrett D'Amore.Pp 285595c635efSGarrett D'AmoreThe 285695c635efSGarrett D'Amore.Em Parsed 285795c635efSGarrett D'Amorecolumn indicates whether the macro may call other macros by receiving 285895c635efSGarrett D'Amoretheir names as arguments. 285995c635efSGarrett D'AmoreIf a macro is not parsed but the name of another macro appears 286095c635efSGarrett D'Amoreas an argument, it is interpreted as opaque text. 286195c635efSGarrett D'Amore.Pp 286295c635efSGarrett D'AmoreThe 286395c635efSGarrett D'Amore.Em Scope 286495c635efSGarrett D'Amorecolumn, if applicable, describes closure rules. 286595c635efSGarrett D'Amore.Ss Block full-explicit 286695c635efSGarrett D'AmoreMulti-line scope closed by an explicit closing macro. 286795c635efSGarrett D'AmoreAll macros contains bodies; only 286895c635efSGarrett D'Amore.Sx \&Bf 286995c635efSGarrett D'Amoreand 287095c635efSGarrett D'Amore.Pq optionally 287195c635efSGarrett D'Amore.Sx \&Bl 287295c635efSGarrett D'Amorecontain a head. 287395c635efSGarrett D'Amore.Bd -literal -offset indent 287495c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB 287595c635efSGarrett D'Amore\(lBbody...\(rB 287695c635efSGarrett D'Amore\&.Yc 287795c635efSGarrett D'Amore.Ed 287895c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXX" -offset indent 287995c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope 288095c635efSGarrett D'Amore.It Sx \&Bd Ta \&No Ta \&No Ta closed by Sx \&Ed 288195c635efSGarrett D'Amore.It Sx \&Bf Ta \&No Ta \&No Ta closed by Sx \&Ef 288295c635efSGarrett D'Amore.It Sx \&Bk Ta \&No Ta \&No Ta closed by Sx \&Ek 288395c635efSGarrett D'Amore.It Sx \&Bl Ta \&No Ta \&No Ta closed by Sx \&El 288495c635efSGarrett D'Amore.It Sx \&Ed Ta \&No Ta \&No Ta opened by Sx \&Bd 288595c635efSGarrett D'Amore.It Sx \&Ef Ta \&No Ta \&No Ta opened by Sx \&Bf 288695c635efSGarrett D'Amore.It Sx \&Ek Ta \&No Ta \&No Ta opened by Sx \&Bk 288795c635efSGarrett D'Amore.It Sx \&El Ta \&No Ta \&No Ta opened by Sx \&Bl 288895c635efSGarrett D'Amore.El 288995c635efSGarrett D'Amore.Ss Block full-implicit 289095c635efSGarrett D'AmoreMulti-line scope closed by end-of-file or implicitly by another macro. 289195c635efSGarrett D'AmoreAll macros have bodies; some 289295c635efSGarrett D'Amore.Po 289395c635efSGarrett D'Amore.Sx \&It Fl bullet , 289495c635efSGarrett D'Amore.Fl hyphen , 289595c635efSGarrett D'Amore.Fl dash , 289695c635efSGarrett D'Amore.Fl enum , 289795c635efSGarrett D'Amore.Fl item 289895c635efSGarrett D'Amore.Pc 289995c635efSGarrett D'Amoredon't have heads; only one 290095c635efSGarrett D'Amore.Po 290195c635efSGarrett D'Amore.Sx \&It 290295c635efSGarrett D'Amorein 290395c635efSGarrett D'Amore.Sx \&Bl Fl column 290495c635efSGarrett D'Amore.Pc 290595c635efSGarrett D'Amorehas multiple heads. 290695c635efSGarrett D'Amore.Bd -literal -offset indent 290795c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB 290895c635efSGarrett D'Amore\(lBbody...\(rB 290995c635efSGarrett D'Amore.Ed 291095c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX" -offset indent 291195c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope 291295c635efSGarrett D'Amore.It Sx \&It Ta \&No Ta Yes Ta closed by Sx \&It , Sx \&El 291395c635efSGarrett D'Amore.It Sx \&Nd Ta \&No Ta \&No Ta closed by Sx \&Sh 291495c635efSGarrett D'Amore.It Sx \&Nm Ta \&No Ta Yes Ta closed by Sx \&Nm , Sx \&Sh , Sx \&Ss 291595c635efSGarrett D'Amore.It Sx \&Sh Ta \&No Ta Yes Ta closed by Sx \&Sh 291695c635efSGarrett D'Amore.It Sx \&Ss Ta \&No Ta Yes Ta closed by Sx \&Sh , Sx \&Ss 291795c635efSGarrett D'Amore.El 291895c635efSGarrett D'Amore.Pp 291995c635efSGarrett D'AmoreNote that the 292095c635efSGarrett D'Amore.Sx \&Nm 292195c635efSGarrett D'Amoremacro is a 292295c635efSGarrett D'Amore.Sx Block full-implicit 292395c635efSGarrett D'Amoremacro only when invoked as the first macro 292495c635efSGarrett D'Amorein a 292595c635efSGarrett D'Amore.Em SYNOPSIS 292695c635efSGarrett D'Amoresection line, else it is 292795c635efSGarrett D'Amore.Sx In-line . 292895c635efSGarrett D'Amore.Ss Block partial-explicit 292995c635efSGarrett D'AmoreLike block full-explicit, but also with single-line scope. 293095c635efSGarrett D'AmoreEach has at least a body and, in limited circumstances, a head 293195c635efSGarrett D'Amore.Po 293295c635efSGarrett D'Amore.Sx \&Fo , 293395c635efSGarrett D'Amore.Sx \&Eo 293495c635efSGarrett D'Amore.Pc 293595c635efSGarrett D'Amoreand/or tail 293695c635efSGarrett D'Amore.Pq Sx \&Ec . 293795c635efSGarrett D'Amore.Bd -literal -offset indent 293895c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB 293995c635efSGarrett D'Amore\(lBbody...\(rB 294095c635efSGarrett D'Amore\&.Yc \(lBtail...\(rB 294195c635efSGarrett D'Amore 294295c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB \ 294395c635efSGarrett D'Amore\(lBbody...\(rB \&Yc \(lBtail...\(rB 294495c635efSGarrett D'Amore.Ed 294595c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -offset indent 294695c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope 294795c635efSGarrett D'Amore.It Sx \&Ac Ta Yes Ta Yes Ta opened by Sx \&Ao 294895c635efSGarrett D'Amore.It Sx \&Ao Ta Yes Ta Yes Ta closed by Sx \&Ac 294995c635efSGarrett D'Amore.It Sx \&Bc Ta Yes Ta Yes Ta closed by Sx \&Bo 295095c635efSGarrett D'Amore.It Sx \&Bo Ta Yes Ta Yes Ta opened by Sx \&Bc 295195c635efSGarrett D'Amore.It Sx \&Brc Ta Yes Ta Yes Ta opened by Sx \&Bro 295295c635efSGarrett D'Amore.It Sx \&Bro Ta Yes Ta Yes Ta closed by Sx \&Brc 295395c635efSGarrett D'Amore.It Sx \&Dc Ta Yes Ta Yes Ta opened by Sx \&Do 295495c635efSGarrett D'Amore.It Sx \&Do Ta Yes Ta Yes Ta closed by Sx \&Dc 295595c635efSGarrett D'Amore.It Sx \&Ec Ta Yes Ta Yes Ta opened by Sx \&Eo 295695c635efSGarrett D'Amore.It Sx \&Eo Ta Yes Ta Yes Ta closed by Sx \&Ec 295795c635efSGarrett D'Amore.It Sx \&Fc Ta Yes Ta Yes Ta opened by Sx \&Fo 295895c635efSGarrett D'Amore.It Sx \&Fo Ta \&No Ta \&No Ta closed by Sx \&Fc 295995c635efSGarrett D'Amore.It Sx \&Oc Ta Yes Ta Yes Ta closed by Sx \&Oo 296095c635efSGarrett D'Amore.It Sx \&Oo Ta Yes Ta Yes Ta opened by Sx \&Oc 296195c635efSGarrett D'Amore.It Sx \&Pc Ta Yes Ta Yes Ta closed by Sx \&Po 296295c635efSGarrett D'Amore.It Sx \&Po Ta Yes Ta Yes Ta opened by Sx \&Pc 296395c635efSGarrett D'Amore.It Sx \&Qc Ta Yes Ta Yes Ta opened by Sx \&Oo 296495c635efSGarrett D'Amore.It Sx \&Qo Ta Yes Ta Yes Ta closed by Sx \&Oc 296595c635efSGarrett D'Amore.It Sx \&Re Ta \&No Ta \&No Ta opened by Sx \&Rs 296695c635efSGarrett D'Amore.It Sx \&Rs Ta \&No Ta \&No Ta closed by Sx \&Re 296795c635efSGarrett D'Amore.It Sx \&Sc Ta Yes Ta Yes Ta opened by Sx \&So 296895c635efSGarrett D'Amore.It Sx \&So Ta Yes Ta Yes Ta closed by Sx \&Sc 296995c635efSGarrett D'Amore.It Sx \&Xc Ta Yes Ta Yes Ta opened by Sx \&Xo 297095c635efSGarrett D'Amore.It Sx \&Xo Ta Yes Ta Yes Ta closed by Sx \&Xc 297195c635efSGarrett D'Amore.El 297295c635efSGarrett D'Amore.Ss Block partial-implicit 297395c635efSGarrett D'AmoreLike block full-implicit, but with single-line scope closed by the 297495c635efSGarrett D'Amoreend of the line. 297595c635efSGarrett D'Amore.Bd -literal -offset indent 297695c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBbody...\(rB \(lBres...\(rB 297795c635efSGarrett D'Amore.Ed 297895c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" -offset indent 297995c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed 298095c635efSGarrett D'Amore.It Sx \&Aq Ta Yes Ta Yes 298195c635efSGarrett D'Amore.It Sx \&Bq Ta Yes Ta Yes 298295c635efSGarrett D'Amore.It Sx \&Brq Ta Yes Ta Yes 298395c635efSGarrett D'Amore.It Sx \&D1 Ta \&No Ta \&Yes 298495c635efSGarrett D'Amore.It Sx \&Dl Ta \&No Ta Yes 298595c635efSGarrett D'Amore.It Sx \&Dq Ta Yes Ta Yes 2986*260e9a87SYuri Pankov.It Sx \&En Ta Yes Ta Yes 298795c635efSGarrett D'Amore.It Sx \&Op Ta Yes Ta Yes 298895c635efSGarrett D'Amore.It Sx \&Pq Ta Yes Ta Yes 298995c635efSGarrett D'Amore.It Sx \&Ql Ta Yes Ta Yes 299095c635efSGarrett D'Amore.It Sx \&Qq Ta Yes Ta Yes 299195c635efSGarrett D'Amore.It Sx \&Sq Ta Yes Ta Yes 299295c635efSGarrett D'Amore.It Sx \&Vt Ta Yes Ta Yes 299395c635efSGarrett D'Amore.El 299495c635efSGarrett D'Amore.Pp 299595c635efSGarrett D'AmoreNote that the 299695c635efSGarrett D'Amore.Sx \&Vt 299795c635efSGarrett D'Amoremacro is a 299895c635efSGarrett D'Amore.Sx Block partial-implicit 299995c635efSGarrett D'Amoreonly when invoked as the first macro 300095c635efSGarrett D'Amorein a 300195c635efSGarrett D'Amore.Em SYNOPSIS 300295c635efSGarrett D'Amoresection line, else it is 300395c635efSGarrett D'Amore.Sx In-line . 300495c635efSGarrett D'Amore.Ss Special block macro 300595c635efSGarrett D'AmoreThe 300695c635efSGarrett D'Amore.Sx \&Ta 300795c635efSGarrett D'Amoremacro can only be used below 300895c635efSGarrett D'Amore.Sx \&It 300995c635efSGarrett D'Amorein 301095c635efSGarrett D'Amore.Sx \&Bl Fl column 301195c635efSGarrett D'Amorelists. 301295c635efSGarrett D'AmoreIt delimits blocks representing table cells; 301395c635efSGarrett D'Amorethese blocks have bodies, but no heads. 301495c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -offset indent 301595c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope 301695c635efSGarrett D'Amore.It Sx \&Ta Ta Yes Ta Yes Ta closed by Sx \&Ta , Sx \&It 301795c635efSGarrett D'Amore.El 301895c635efSGarrett D'Amore.Ss In-line 301995c635efSGarrett D'AmoreClosed by the end of the line, fixed argument lengths, 302095c635efSGarrett D'Amoreand/or subsequent macros. 302195c635efSGarrett D'AmoreIn-line macros have only text children. 302295c635efSGarrett D'AmoreIf a number (or inequality) of arguments is 302395c635efSGarrett D'Amore.Pq n , 302495c635efSGarrett D'Amorethen the macro accepts an arbitrary number of arguments. 302595c635efSGarrett D'Amore.Bd -literal -offset indent 302695c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB \(lBres...\(rB 302795c635efSGarrett D'Amore 302895c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB Yc... 302995c635efSGarrett D'Amore 303095c635efSGarrett D'Amore\&.Yo \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN 303195c635efSGarrett D'Amore.Ed 303295c635efSGarrett D'Amore.Bl -column "MacroX" "CallableX" "ParsedX" "Arguments" -offset indent 303395c635efSGarrett D'Amore.It Em Macro Ta Em Callable Ta Em Parsed Ta Em Arguments 303495c635efSGarrett D'Amore.It Sx \&%A Ta \&No Ta \&No Ta >0 303595c635efSGarrett D'Amore.It Sx \&%B Ta \&No Ta \&No Ta >0 303695c635efSGarrett D'Amore.It Sx \&%C Ta \&No Ta \&No Ta >0 303795c635efSGarrett D'Amore.It Sx \&%D Ta \&No Ta \&No Ta >0 303895c635efSGarrett D'Amore.It Sx \&%I Ta \&No Ta \&No Ta >0 303995c635efSGarrett D'Amore.It Sx \&%J Ta \&No Ta \&No Ta >0 304095c635efSGarrett D'Amore.It Sx \&%N Ta \&No Ta \&No Ta >0 304195c635efSGarrett D'Amore.It Sx \&%O Ta \&No Ta \&No Ta >0 304295c635efSGarrett D'Amore.It Sx \&%P Ta \&No Ta \&No Ta >0 304395c635efSGarrett D'Amore.It Sx \&%Q Ta \&No Ta \&No Ta >0 304495c635efSGarrett D'Amore.It Sx \&%R Ta \&No Ta \&No Ta >0 304595c635efSGarrett D'Amore.It Sx \&%T Ta \&No Ta \&No Ta >0 304695c635efSGarrett D'Amore.It Sx \&%U Ta \&No Ta \&No Ta >0 304795c635efSGarrett D'Amore.It Sx \&%V Ta \&No Ta \&No Ta >0 304895c635efSGarrett D'Amore.It Sx \&Ad Ta Yes Ta Yes Ta >0 304995c635efSGarrett D'Amore.It Sx \&An Ta Yes Ta Yes Ta >0 305095c635efSGarrett D'Amore.It Sx \&Ap Ta Yes Ta Yes Ta 0 305195c635efSGarrett D'Amore.It Sx \&Ar Ta Yes Ta Yes Ta n 305295c635efSGarrett D'Amore.It Sx \&At Ta Yes Ta Yes Ta 1 305395c635efSGarrett D'Amore.It Sx \&Bsx Ta Yes Ta Yes Ta n 305495c635efSGarrett D'Amore.It Sx \&Bt Ta \&No Ta \&No Ta 0 305595c635efSGarrett D'Amore.It Sx \&Bx Ta Yes Ta Yes Ta n 305695c635efSGarrett D'Amore.It Sx \&Cd Ta Yes Ta Yes Ta >0 305795c635efSGarrett D'Amore.It Sx \&Cm Ta Yes Ta Yes Ta >0 305895c635efSGarrett D'Amore.It Sx \&Db Ta \&No Ta \&No Ta 1 305995c635efSGarrett D'Amore.It Sx \&Dd Ta \&No Ta \&No Ta n 306095c635efSGarrett D'Amore.It Sx \&Dt Ta \&No Ta \&No Ta n 306195c635efSGarrett D'Amore.It Sx \&Dv Ta Yes Ta Yes Ta >0 306295c635efSGarrett D'Amore.It Sx \&Dx Ta Yes Ta Yes Ta n 306395c635efSGarrett D'Amore.It Sx \&Em Ta Yes Ta Yes Ta >0 306495c635efSGarrett D'Amore.It Sx \&Er Ta Yes Ta Yes Ta >0 3065*260e9a87SYuri Pankov.It Sx \&Es Ta Yes Ta Yes Ta 2 306695c635efSGarrett D'Amore.It Sx \&Ev Ta Yes Ta Yes Ta >0 306795c635efSGarrett D'Amore.It Sx \&Ex Ta \&No Ta \&No Ta n 306895c635efSGarrett D'Amore.It Sx \&Fa Ta Yes Ta Yes Ta >0 306995c635efSGarrett D'Amore.It Sx \&Fd Ta \&No Ta \&No Ta >0 307095c635efSGarrett D'Amore.It Sx \&Fl Ta Yes Ta Yes Ta n 307195c635efSGarrett D'Amore.It Sx \&Fn Ta Yes Ta Yes Ta >0 3072*260e9a87SYuri Pankov.It Sx \&Fr Ta Yes Ta Yes Ta >0 307395c635efSGarrett D'Amore.It Sx \&Ft Ta Yes Ta Yes Ta >0 307495c635efSGarrett D'Amore.It Sx \&Fx Ta Yes Ta Yes Ta n 307595c635efSGarrett D'Amore.It Sx \&Hf Ta \&No Ta \&No Ta n 307695c635efSGarrett D'Amore.It Sx \&Ic Ta Yes Ta Yes Ta >0 307795c635efSGarrett D'Amore.It Sx \&In Ta \&No Ta \&No Ta 1 307895c635efSGarrett D'Amore.It Sx \&Lb Ta \&No Ta \&No Ta 1 307995c635efSGarrett D'Amore.It Sx \&Li Ta Yes Ta Yes Ta >0 308095c635efSGarrett D'Amore.It Sx \&Lk Ta Yes Ta Yes Ta >0 308195c635efSGarrett D'Amore.It Sx \&Lp Ta \&No Ta \&No Ta 0 308295c635efSGarrett D'Amore.It Sx \&Ms Ta Yes Ta Yes Ta >0 308395c635efSGarrett D'Amore.It Sx \&Mt Ta Yes Ta Yes Ta >0 308495c635efSGarrett D'Amore.It Sx \&Nm Ta Yes Ta Yes Ta n 308595c635efSGarrett D'Amore.It Sx \&No Ta Yes Ta Yes Ta 0 308695c635efSGarrett D'Amore.It Sx \&Ns Ta Yes Ta Yes Ta 0 308795c635efSGarrett D'Amore.It Sx \&Nx Ta Yes Ta Yes Ta n 308895c635efSGarrett D'Amore.It Sx \&Os Ta \&No Ta \&No Ta n 3089*260e9a87SYuri Pankov.It Sx \&Ot Ta Yes Ta Yes Ta >0 309095c635efSGarrett D'Amore.It Sx \&Ox Ta Yes Ta Yes Ta n 309195c635efSGarrett D'Amore.It Sx \&Pa Ta Yes Ta Yes Ta n 309295c635efSGarrett D'Amore.It Sx \&Pf Ta Yes Ta Yes Ta 1 309395c635efSGarrett D'Amore.It Sx \&Pp Ta \&No Ta \&No Ta 0 309495c635efSGarrett D'Amore.It Sx \&Rv Ta \&No Ta \&No Ta n 3095*260e9a87SYuri Pankov.It Sx \&Sm Ta \&No Ta \&No Ta <2 309695c635efSGarrett D'Amore.It Sx \&St Ta \&No Ta Yes Ta 1 309795c635efSGarrett D'Amore.It Sx \&Sx Ta Yes Ta Yes Ta >0 309895c635efSGarrett D'Amore.It Sx \&Sy Ta Yes Ta Yes Ta >0 309995c635efSGarrett D'Amore.It Sx \&Tn Ta Yes Ta Yes Ta >0 310095c635efSGarrett D'Amore.It Sx \&Ud Ta \&No Ta \&No Ta 0 310195c635efSGarrett D'Amore.It Sx \&Ux Ta Yes Ta Yes Ta n 310295c635efSGarrett D'Amore.It Sx \&Va Ta Yes Ta Yes Ta n 310395c635efSGarrett D'Amore.It Sx \&Vt Ta Yes Ta Yes Ta >0 310495c635efSGarrett D'Amore.It Sx \&Xr Ta Yes Ta Yes Ta >0 310595c635efSGarrett D'Amore.It Sx \&br Ta \&No Ta \&No Ta 0 310695c635efSGarrett D'Amore.It Sx \&sp Ta \&No Ta \&No Ta 1 310795c635efSGarrett D'Amore.El 310895c635efSGarrett D'Amore.Ss Delimiters 310995c635efSGarrett D'AmoreWhen a macro argument consists of one single input character 311095c635efSGarrett D'Amoreconsidered as a delimiter, the argument gets special handling. 311195c635efSGarrett D'AmoreThis does not apply when delimiters appear in arguments containing 311295c635efSGarrett D'Amoremore than one character. 311395c635efSGarrett D'AmoreConsequently, to prevent special handling and just handle it 311495c635efSGarrett D'Amorelike any other argument, a delimiter can be escaped by prepending 311595c635efSGarrett D'Amorea zero-width space 311695c635efSGarrett D'Amore.Pq Sq \e& . 311795c635efSGarrett D'AmoreIn text lines, delimiters never need escaping, but may be used 311895c635efSGarrett D'Amoreas normal punctuation. 311995c635efSGarrett D'Amore.Pp 312095c635efSGarrett D'AmoreFor many macros, when the leading arguments are opening delimiters, 312195c635efSGarrett D'Amorethese delimiters are put before the macro scope, 312295c635efSGarrett D'Amoreand when the trailing arguments are closing delimiters, 312395c635efSGarrett D'Amorethese delimiters are put after the macro scope. 312495c635efSGarrett D'AmoreFor example, 312595c635efSGarrett D'Amore.Pp 312695c635efSGarrett D'Amore.D1 Pf \. \&Aq "( [ word ] ) ." 312795c635efSGarrett D'Amore.Pp 312895c635efSGarrett D'Amorerenders as: 312995c635efSGarrett D'Amore.Pp 313095c635efSGarrett D'Amore.D1 Aq ( [ word ] ) . 313195c635efSGarrett D'Amore.Pp 313295c635efSGarrett D'AmoreOpening delimiters are: 313395c635efSGarrett D'Amore.Pp 313495c635efSGarrett D'Amore.Bl -tag -width Ds -offset indent -compact 313595c635efSGarrett D'Amore.It \&( 313695c635efSGarrett D'Amoreleft parenthesis 313795c635efSGarrett D'Amore.It \&[ 313895c635efSGarrett D'Amoreleft bracket 313995c635efSGarrett D'Amore.El 314095c635efSGarrett D'Amore.Pp 314195c635efSGarrett D'AmoreClosing delimiters are: 314295c635efSGarrett D'Amore.Pp 314395c635efSGarrett D'Amore.Bl -tag -width Ds -offset indent -compact 314495c635efSGarrett D'Amore.It \&. 314595c635efSGarrett D'Amoreperiod 314695c635efSGarrett D'Amore.It \&, 314795c635efSGarrett D'Amorecomma 314895c635efSGarrett D'Amore.It \&: 314995c635efSGarrett D'Amorecolon 315095c635efSGarrett D'Amore.It \&; 315195c635efSGarrett D'Amoresemicolon 315295c635efSGarrett D'Amore.It \&) 315395c635efSGarrett D'Amoreright parenthesis 315495c635efSGarrett D'Amore.It \&] 315595c635efSGarrett D'Amoreright bracket 315695c635efSGarrett D'Amore.It \&? 315795c635efSGarrett D'Amorequestion mark 315895c635efSGarrett D'Amore.It \&! 315995c635efSGarrett D'Amoreexclamation mark 316095c635efSGarrett D'Amore.El 316195c635efSGarrett D'Amore.Pp 316295c635efSGarrett D'AmoreNote that even a period preceded by a backslash 316395c635efSGarrett D'Amore.Pq Sq \e.\& 316495c635efSGarrett D'Amoregets this special handling; use 316595c635efSGarrett D'Amore.Sq \e&. 316695c635efSGarrett D'Amoreto prevent that. 316795c635efSGarrett D'Amore.Pp 316895c635efSGarrett D'AmoreMany in-line macros interrupt their scope when they encounter 316995c635efSGarrett D'Amoredelimiters, and resume their scope when more arguments follow that 317095c635efSGarrett D'Amoreare not delimiters. 317195c635efSGarrett D'AmoreFor example, 317295c635efSGarrett D'Amore.Pp 317395c635efSGarrett D'Amore.D1 Pf \. \&Fl "a ( b | c \e*(Ba d ) e" 317495c635efSGarrett D'Amore.Pp 317595c635efSGarrett D'Amorerenders as: 317695c635efSGarrett D'Amore.Pp 317795c635efSGarrett D'Amore.D1 Fl a ( b | c \*(Ba d ) e 317895c635efSGarrett D'Amore.Pp 317995c635efSGarrett D'AmoreThis applies to both opening and closing delimiters, 318095c635efSGarrett D'Amoreand also to the middle delimiter: 318195c635efSGarrett D'Amore.Pp 318295c635efSGarrett D'Amore.Bl -tag -width Ds -offset indent -compact 318395c635efSGarrett D'Amore.It \&| 318495c635efSGarrett D'Amorevertical bar 318595c635efSGarrett D'Amore.El 318695c635efSGarrett D'Amore.Pp 318795c635efSGarrett D'AmoreAs a special case, the predefined string \e*(Ba is handled and rendered 318895c635efSGarrett D'Amorein the same way as a plain 318995c635efSGarrett D'Amore.Sq \&| 319095c635efSGarrett D'Amorecharacter. 319195c635efSGarrett D'AmoreUsing this predefined string is not recommended in new manuals. 319295c635efSGarrett D'Amore.Ss Font handling 319395c635efSGarrett D'AmoreIn 319495c635efSGarrett D'Amore.Nm 319595c635efSGarrett D'Amoredocuments, usage of semantic markup is recommended in order to have 319695c635efSGarrett D'Amoreproper fonts automatically selected; only when no fitting semantic markup 319795c635efSGarrett D'Amoreis available, consider falling back to 319895c635efSGarrett D'Amore.Sx Physical markup 319995c635efSGarrett D'Amoremacros. 320095c635efSGarrett D'AmoreWhenever any 320195c635efSGarrett D'Amore.Nm 320295c635efSGarrett D'Amoremacro switches the 3203*260e9a87SYuri Pankov.Xr mandoc_roff 5 320495c635efSGarrett D'Amorefont mode, it will automatically restore the previous font when exiting 320595c635efSGarrett D'Amoreits scope. 320695c635efSGarrett D'AmoreManually switching the font using the 3207*260e9a87SYuri Pankov.Xr mandoc_roff 5 320895c635efSGarrett D'Amore.Ql \ef 320995c635efSGarrett D'Amorefont escape sequences is never required. 321095c635efSGarrett D'Amore.Sh COMPATIBILITY 3211*260e9a87SYuri PankovThis section provides an incomplete list of compatibility issues 3212*260e9a87SYuri Pankovbetween mandoc and GNU troff 321395c635efSGarrett D'Amore.Pq Qq groff . 321495c635efSGarrett D'Amore.Pp 321595c635efSGarrett D'AmoreThe following problematic behaviour is found in groff: 321695c635efSGarrett D'Amore.Pp 321795c635efSGarrett D'Amore.Bl -dash -compact 321895c635efSGarrett D'Amore.It 321995c635efSGarrett D'Amore.Sx \&Dd 322095c635efSGarrett D'Amorewith non-standard arguments behaves very strangely. 322195c635efSGarrett D'AmoreWhen there are three arguments, they are printed verbatim. 322295c635efSGarrett D'AmoreAny other number of arguments is replaced by the current date, 322395c635efSGarrett D'Amorebut without any arguments the string 322495c635efSGarrett D'Amore.Dq Epoch 322595c635efSGarrett D'Amoreis printed. 322695c635efSGarrett D'Amore.It 322795c635efSGarrett D'Amore.Sx \&Lk 322895c635efSGarrett D'Amoreonly accepts a single link-name argument; the remainder is misformatted. 322995c635efSGarrett D'Amore.It 323095c635efSGarrett D'Amore.Sx \&Pa 323195c635efSGarrett D'Amoredoes not format its arguments when used in the FILES section under 323295c635efSGarrett D'Amorecertain list types. 323395c635efSGarrett D'Amore.It 323495c635efSGarrett D'Amore.Sx \&Ta 323595c635efSGarrett D'Amorecan only be called by other macros, but not at the beginning of a line. 323695c635efSGarrett D'Amore.It 323795c635efSGarrett D'Amore.Sx \&%C 3238*260e9a87SYuri Pankovis not implemented (up to and including groff-1.22.2). 323995c635efSGarrett D'Amore.It 324095c635efSGarrett D'Amore.Sq \ef 324195c635efSGarrett D'Amore.Pq font face 324295c635efSGarrett D'Amoreand 3243*260e9a87SYuri Pankov.Sq \eF 324495c635efSGarrett D'Amore.Pq font family face 324595c635efSGarrett D'Amore.Sx Text Decoration 324695c635efSGarrett D'Amoreescapes behave irregularly when specified within line-macro scopes. 324795c635efSGarrett D'Amore.It 324895c635efSGarrett D'AmoreNegative scaling units return to prior lines. 324995c635efSGarrett D'AmoreInstead, mandoc truncates them to zero. 325095c635efSGarrett D'Amore.El 325195c635efSGarrett D'Amore.Pp 325295c635efSGarrett D'AmoreThe following features are unimplemented in mandoc: 325395c635efSGarrett D'Amore.Pp 325495c635efSGarrett D'Amore.Bl -dash -compact 325595c635efSGarrett D'Amore.It 325695c635efSGarrett D'Amore.Sx \&Bd 3257*260e9a87SYuri Pankov.Fl file Ar file 3258*260e9a87SYuri Pankovis unsupported for security reasons. 325995c635efSGarrett D'Amore.It 326095c635efSGarrett D'Amore.Sx \&Bd 3261*260e9a87SYuri Pankov.Fl filled 3262*260e9a87SYuri Pankovdoes not adjust the right margin, but is an alias for 3263*260e9a87SYuri Pankov.Sx \&Bd 3264*260e9a87SYuri Pankov.Fl ragged . 3265*260e9a87SYuri Pankov.It 3266*260e9a87SYuri Pankov.Sx \&Bd 3267*260e9a87SYuri Pankov.Fl literal 3268*260e9a87SYuri Pankovdoes not use a literal font, but is an alias for 3269*260e9a87SYuri Pankov.Sx \&Bd 3270*260e9a87SYuri Pankov.Fl unfilled . 3271*260e9a87SYuri Pankov.It 3272*260e9a87SYuri Pankov.Sx \&Bd 3273*260e9a87SYuri Pankov.Fl offset Cm center 327495c635efSGarrett D'Amoreand 3275*260e9a87SYuri Pankov.Fl offset Cm right 3276*260e9a87SYuri Pankovdon't work. 3277*260e9a87SYuri PankovGroff does not implement centered and flush-right rendering either, 327895c635efSGarrett D'Amorebut produces large indentations. 327995c635efSGarrett D'Amore.El 328095c635efSGarrett D'Amore.Sh SEE ALSO 328195c635efSGarrett D'Amore.Xr man 1 , 328295c635efSGarrett D'Amore.Xr mandoc 1 , 328395c635efSGarrett D'Amore.Xr eqn 5 , 328495c635efSGarrett D'Amore.Xr man 5 , 328595c635efSGarrett D'Amore.Xr mandoc_char 5 , 3286*260e9a87SYuri Pankov.Xr mandoc_roff 5 , 328795c635efSGarrett D'Amore.Xr tbl 5 328895c635efSGarrett D'Amore.Sh HISTORY 328995c635efSGarrett D'AmoreThe 329095c635efSGarrett D'Amore.Nm 329195c635efSGarrett D'Amorelanguage first appeared as a troff macro package in 329295c635efSGarrett D'Amore.Bx 4.4 . 329395c635efSGarrett D'AmoreIt was later significantly updated by Werner Lemberg and Ruslan Ermilov 329495c635efSGarrett D'Amorein groff-1.17. 329595c635efSGarrett D'AmoreThe standalone implementation that is part of the 329695c635efSGarrett D'Amore.Xr mandoc 1 329795c635efSGarrett D'Amoreutility written by Kristaps Dzonsons appeared in 329895c635efSGarrett D'Amore.Ox 4.6 . 329995c635efSGarrett D'Amore.Sh AUTHORS 330095c635efSGarrett D'AmoreThe 330195c635efSGarrett D'Amore.Nm 330295c635efSGarrett D'Amorereference was written by 3303*260e9a87SYuri Pankov.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . 3304