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