xref: /openbsd-src/share/misc/mdoc.template (revision 2b0358df1d88d06ef4139321dd05bd5e05d91eaf)
1.\"	$OpenBSD: mdoc.template,v 1.10 2007/05/31 22:10:19 jmc Exp $
2.\"
3.\" The following requests are required for all man pages.
4.\"
5.\" Remove `\&' from the line below.
6.Dd $\&Mdocdate$
7.Dt NAME SECTION#
8.Os
9.Sh NAME
10.Nm program
11.Nd one line about what it does
12.Sh SYNOPSIS
13.\" For a program:  program [-abc] file ...
14.Nm program
15.Op Fl abc
16.Ar
17.Sh DESCRIPTION
18The
19.Nm
20utility processes files ...
21.\" The following requests should be uncommented and used where appropriate.
22.\" This next request is for sections 2, 3, and 9 function return values only.
23.\" .Sh RETURN VALUES
24.\" This next request is for sections 1, 6, 7 & 8 only.
25.\" .Sh ENVIRONMENT
26.\" .Sh FILES
27.\" .Sh EXAMPLES
28.\" This next request is for sections 1, 4, 6, and 8 only.
29.\" .Sh DIAGNOSTICS
30.\" The next request is for sections 2, 3, and 9 error and signal handling only.
31.\" .Sh ERRORS
32.\" .Sh SEE ALSO
33.\" .Xr foobar 1
34.\" .Sh STANDARDS
35.\" .Sh HISTORY
36.\" .Sh AUTHORS
37.\" .Sh CAVEATS
38.\" .Sh BUGS
39