summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-31 01:05:32 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-31 01:05:32 +0000
commit58fb8b7dc007dbb0556480e6fe27825c26dc52bd (patch)
tree5f84222f0fdfc777e2c726e085e9d5ee41b3f3fe /mdoc.7
parent31f620c338e4694ae72d96330057b88f2e65f394 (diff)
downloadmandoc-58fb8b7dc007dbb0556480e6fe27825c26dc52bd.tar.gz
Support the CONTEXT section for kernel manual pages found in Solaris and
OpenBSD manuals. It describes which contexts you can call functions in. from dlg@, ok jmc@ deraadt@
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.75
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc.7 b/mdoc.7
index 5d20e7e2..7c004f0e 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -135,6 +135,8 @@ file for a utility
The
\&.Nm
utility processes files ...
+\&.\e\(dq .Sh CONTEXT
+\&.\e\(dq For section 9 functions only.
\&.\e\(dq .Sh IMPLEMENTATION NOTES
\&.\e\(dq Not used in OpenBSD.
\&.\e\(dq .Sh RETURN VALUES
@@ -318,6 +320,9 @@ macro followed by a non-standard section name, and each having
several subsections, like in the present
.Nm
manual.
+.It Em CONTEXT
+This section lists the contexts in which functions can be called in section 9.
+The contexts are autoconf, process, or interrupt.
.It Em IMPLEMENTATION NOTES
Implementation-specific notes should be kept here.
This is useful when implementing standard functions that may have side