xref: /netbsd/share/misc/mdoc.template (revision 6550d01e)
1.\"	$NetBSD: mdoc.template,v 1.7 2002/07/10 11:57:12 yamt Exp $
2.\"
3.\" Copyright notice
4.\"
5.\" The uncommented requests are required for all man pages.
6.\" The commented requests should be uncommented and used where appropriate.
7.Dd Month day, year
8.Dt DOCUMENT_TITLE SECTION [MACHINE]
9.Os
10.Sh NAME
11.\" The next request should be used for sections 2 and 3 only.
12.\" .Sh LIBRARY
13.Sh SYNOPSIS
14.Sh DESCRIPTION
15.\" This next request is for sections 1 and 8 exit statuses only.
16.\" .Sh EXIT STATUS
17.\" This next request is for sections 2 and 3 function return values only.
18.\" .Sh RETURN VALUES
19.\" This next request is for sections 1, 6, 7 & 8 only.
20.\" .Sh ENVIRONMENT
21.\" .Sh FILES
22.\" .Sh EXAMPLES
23.\" This next request is for sections 1, 6, 7 & 8 only
24.\"     (command return values (to shell) and fprintf/stderr type diagnostics).
25.\" .Sh DIAGNOSTICS
26.\" The next request is for sections 2 and 3 error and signal handling only.
27.\" .Sh ERRORS
28.\" .Sh SEE ALSO
29.\" Cross-references should be ordered by section (low to high), then in
30.\"     alphabetical order.
31.\" .Sh STANDARDS
32.\" .Sh HISTORY
33.\" .Sh AUTHORS
34.\" .Sh CAVEATS
35.\" .Sh BUGS
36.\" .Sh SECURITY CONSIDERATIONS
37