xref: /openbsd-src/share/misc/mdoc.template (revision 91f110e064cd7c194e59e019b83bb7496c1c84d4)
1.\"	$OpenBSD: mdoc.template,v 1.14 2014/02/16 14:26:51 schwarze Exp $
2.\"
3.\" Copyright (c) YYYY YOUR NAME HERE <user@your.dom.ain>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.\" The following requests are required for all man pages.
18.\"
19.\" Remove `\&' from the line below.
20.Dd $\&Mdocdate$
21.Dt NAME SECTION#
22.Os
23.Sh NAME
24.Nm program
25.Nd one line about what it does
26.Sh SYNOPSIS
27.\" For a program:  program [-abc] file ...
28.Nm program
29.Op Fl abc
30.Ar
31.Sh DESCRIPTION
32The
33.Nm
34utility processes files ...
35.\" The following requests should be uncommented and used where appropriate.
36.\" .Sh RETURN VALUES
37.\" For sections 2, 3, and 9 function return values only.
38.\" .Sh ENVIRONMENT
39.\" For sections 1, 6, 7, and 8 only.
40.\" .Sh FILES
41.\" .Sh EXIT STATUS
42.\" For sections 1, 6, and 8 only.
43.\" .Sh EXAMPLES
44.\" .Sh DIAGNOSTICS
45.\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only.
46.\" .Sh ERRORS
47.\" For sections 2, 3, 4, and 9 errno settings only.
48.\" .Sh SEE ALSO
49.\" .Xr foobar 1
50.\" .Sh STANDARDS
51.\" .Sh HISTORY
52.\" .Sh AUTHORS
53.\" .Sh CAVEATS
54.\" .Sh BUGS
55