=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.82 retrieving revision 1.83 diff -u -p -r1.82 -r1.83 --- mandoc/mdoc.7 2010/01/07 19:10:10 1.82 +++ mandoc/mdoc.7 2010/01/30 08:55:39 1.83 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.82 2010/01/07 19:10:10 kristaps Exp $ +.\" $Id: mdoc.7,v 1.83 2010/01/30 08:55:39 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -14,7 +14,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: January 7 2010 $ +.Dd $Mdocdate: January 30 2010 $ .Dt MDOC 7 .Os . @@ -770,7 +770,16 @@ or end of line. .It Sx \&Ql Ta Yes Ta Yes .It Sx \&Qq Ta Yes Ta Yes .It Sx \&Sq Ta Yes Ta Yes +.It Sx \&Vt Ta Yes Ta Yes .El +.Pp +Note that the +.Sx \&Vt +macro is a +.Sx Block partial-implicit +only when invoked as the first macro +in a SYNOPSIS section line, else it is +.Sx In-line . . . .Ss In-line @@ -1892,11 +1901,29 @@ and . .Ss \&Va .Ss \&Vt -.Ss \&Xc -.Ss \&Xo -.Ss \&Xr -.Ss \&br -.Ss \&sp +A variable type. This is also used for indicating global variables in the +SYNOPSIS section, in which case a variable name is also specified. Note that +it accepts +.Sx Block partial-implicit +syntax when invoked as the first macro in the SYNOPSIS section, else it +accepts ordinary +.Sx In-line +syntax. +.Pp +Note that this should not be confused with +.Sx \&Ft , +which is used for function return types. +.Pp +Examples: +.Bd -literal -offset indent +\&.Vt unsigned char +\&.Vt extern const char * const sys_signame[] ; +.Ed +.Pp +See also +.Sx \&Ft +and +.Sx \&Va . . . .Sh COMPATIBILITY