diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-30 08:55:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-01-30 08:55:39 +0000 |
commit | 23633a0dfbe3b2e7463011888037e7b05b8051ec (patch) | |
tree | 34fe8e303cf33429a51dc644b6e4cedb3fc24bb5 /mdoc.7 | |
parent | 544544185bcee3b5efb8ee4ccd6c444ea8fef690 (diff) | |
download | mandoc-23633a0dfbe3b2e7463011888037e7b05b8051ec.tar.gz |
Added `Vt' double-type documentation.
Diffstat (limited to 'mdoc.7')
-rw-r--r-- | mdoc.7 | 37 |
1 files changed, 32 insertions, 5 deletions
@@ -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 |