summaryrefslogtreecommitdiff
path: root/share/man/man7/mdoc.samples.7
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-03-19 21:01:45 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-03-19 21:01:45 +0000
commit8889d6ac3aa88d1a3998c2561e58b4c7642b5ea2 (patch)
tree7bdcbdc6c3afdc11829c8820f4643afc123995d0 /share/man/man7/mdoc.samples.7
parente0d9d675fb3335ee269ce08a80259d617889eb4a (diff)
Notes
Diffstat (limited to 'share/man/man7/mdoc.samples.7')
-rw-r--r--share/man/man7/mdoc.samples.720
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man7/mdoc.samples.7 b/share/man/man7/mdoc.samples.7
index 39e4c0b10f6d5..f74648255f9b1 100644
--- a/share/man/man7/mdoc.samples.7
+++ b/share/man/man7/mdoc.samples.7
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mdoc.samples.7 8.2 (Berkeley) 12/30/93
-.\" $Id: mdoc.samples.7,v 1.12 1997/03/19 20:16:50 mpp Exp $
+.\" $Id: mdoc.samples.7,v 1.13 1997/03/19 20:31:42 mpp Exp $
.\"
.\" This tutorial sampler invokes every macro in the package several
.\" times and is guaranteed to give a worst case performance
@@ -147,6 +147,7 @@ outlined as follows:
.It "Names" .
.It "Options" .
.It "Pathnames" .
+.It "Return Values"
.It "Variables" .
.It "Cross References" .
.El
@@ -1301,6 +1302,23 @@ macro formats path or file names.
The
.Ql \&.Pa
macro is parsed and is callable.
+.Ss Return Values
+The
+.Ql \&.Rv
+macro generates text for use in the
+.Sx RETURN VALUES
+section.
+.Pp
+.Dl Usage: .Rv [-std function]
+.Pp
+.Ql \&.Rv -std atexit
+will generate the following text:
+.Pp
+.Rv -std atexit
+.Pp
+The
+.Fl std
+option is valid only for manual page sections 2 and 3.
.Ss Variables
Generic variable reference:
.Pp