summaryrefslogtreecommitdiffstats
path: root/man.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 /man.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 'man.7')
-rw-r--r--man.75
1 files changed, 5 insertions, 0 deletions
diff --git a/man.7 b/man.7
index be2260ac..e72c27a7 100644
--- a/man.7
+++ b/man.7
@@ -106,6 +106,8 @@ file for a utility
\efBprogname\efR [\efB\e-options\efR] \efIfile ...\efR
\&.SH DESCRIPTION
The \efBfoo\efR 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
@@ -171,6 +173,9 @@ This expands upon the brief, one-line description in
.Em NAME .
It usually contains a break-down of the options (if documenting a
command).
+.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