diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-01-24 21:55:09 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-01-24 21:55:09 +0000 |
commit | 86b096259c0fbe73017ef1569c4dffa69f7b4595 (patch) | |
tree | 35d1c833a7a6128ef72c3e15b92129c838076db8 /share/man/man7/mdoc.samples.7 | |
parent | f0d601a612354a8fc00f1f3b78cce43519e7359d (diff) |
.Vt is not just a FORTRAN thing; noted by Jared Yanvovich;
sadly, our .Vt does not respect punctuation...
ok deraadt@
Diffstat (limited to 'share/man/man7/mdoc.samples.7')
-rw-r--r-- | share/man/man7/mdoc.samples.7 | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/share/man/man7/mdoc.samples.7 b/share/man/man7/mdoc.samples.7 index eec8d73cde3..b48ea59e1f8 100644 --- a/share/man/man7/mdoc.samples.7 +++ b/share/man/man7/mdoc.samples.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.samples.7,v 1.48 2003/12/20 11:36:33 jmc Exp $ +.\" $OpenBSD: mdoc.samples.7,v 1.49 2004/01/24 21:55:08 jmc Exp $ .\" $NetBSD: mdoc.samples.7,v 1.5 1996/04/03 20:17:34 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -1475,6 +1475,22 @@ are: .It Li "-susv3" .St -susv3 .El +.Ss Variable Types +The +.Sq .Vt +macro may be used whenever a type is referenced. +In the +.Sx SYNOPSIS +section, it causes a line break +.Pq useful for old-style variable declarations . +.Pp +.Dl Usage: .Vt Ao type Ac ... +.Bl -tag -width ".Vt extern char *optarg;" -compact -offset 14n +.It Li \&.Vt extern char *optarg; +.Vt extern char *optarg; +.It Li \&.Vt FILE * +.Vt FILE * +.El .Ss Variables Generic variable reference: .Pp @@ -2087,9 +2103,6 @@ Toggles spacing on or off. .It \&.Ud Prints .Dq currently under development. -.It \&.Vt -Variable type -.Pq Fortran only . .El .Sh PAGE STRUCTURE DOMAIN .Ss Section Headers @@ -3268,6 +3281,9 @@ The list and display macros do not do any keeps and certainly should be able to. .Pp Section 3f has not been added to the header routines. +.Pp +.Sq .Vt +does not respect punctuation. .\" Note what happens if the parameter list overlaps a newline .\" boundary. .\" to make sure a line boundary is crossed: |