From b937567eadd652635bc2b6f42ca06e3679e4cd41 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@ --- mdoc.7 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index 44a0717a..2b58495b 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.227 2014/02/16 14:26:55 schwarze Exp $ +.\" $Id: mdoc.7,v 1.228 2014/03/31 01:05:32 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 16 2014 $ +.Dd $Mdocdate: March 31 2014 $ .Dt MDOC 7 .Os .Sh NAME @@ -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 -- cgit v1.2.3-56-ge451