xref: /openbsd-src/share/misc/mdoc.template (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1.\"	$OpenBSD: mdoc.template,v 1.6 2001/02/03 08:22:44 niklas 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.Op Ar
15.Sh DESCRIPTION
16The
17.Nm
18utility processes files ...
19.\" The following requests should be uncommented and used where appropriate.
20.\" .Sh EXAMPLES
21.\" This next request is for sections 2 and 3 function return values only.
22.\" .Sh RETURN VALUES
23.\" The next request is for sections 2 and 3 error and signal handling only.
24.\" .Sh ERRORS
25.\" This next request is for section 4 only.
26.\" .Sh DIAGNOSTICS
27.\" This next request is for sections 1, 6, 7 & 8 only.
28.\" .Sh ENVIRONMENT
29.\" .Sh FILES
30.\" .Sh SEE ALSO
31.\" .Xr foobar 1
32.\" .Sh COMPATIBILITY
33.\" .Sh STANDARDS
34.\" .Sh AUTHORS
35.\" .Sh HISTORY
36.\" .Sh BUGS
37.\" .Sh CAVEATS
38