From 58fb8b7dc007dbb0556480e6fe27825c26dc52bd Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 31 Mar 2014 01:05:32 +0000 Subject: 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@ --- man.7 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'man.7') 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 -- cgit