summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 16:24:37 +0000
commit619da5a7b0c931ea622bdd14c639e77e854f5ba1 (patch)
treed3dd14dbfee0e608080f6ca7729bfedd65fc0fec /mdoc.7
parenta251336e2327592d09bff64e10e8e344a47a4374 (diff)
downloadmandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.tar.gz
mandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.tar.zst
mandoc-619da5a7b0c931ea622bdd14c639e77e854f5ba1.zip
LIBRARY can also occur in section 9.
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.76
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index d318dc42..f7bda9e3 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.107 2010/05/15 07:01:51 kristaps Exp $
+.\" $Id: mdoc.7,v 1.108 2010/05/15 16:24:37 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -347,7 +347,7 @@ file:
\&.Sh NAME
\&.Nm foo
\&.Nd a description goes here
-\&.\e\*q The next is for sections 2 & 3 only.
+\&.\e\*q The next is for sections 2, 3, & 9 only.
\&.\e\*q .Sh LIBRARY
\&.
\&.Sh SYNOPSIS
@@ -409,7 +409,7 @@ and
.Sx \&Nd .
.It Em LIBRARY
The name of the library containing the documented material, which is
-assumed to be a function in a section 2 or 3 manual.
+assumed to be a function in a section 2, 3, or 9 manual.
The syntax for this is as follows:
.Bd -literal -offset indent
\&.Lb libarm