summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-30 08:55:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-30 08:55:39 +0000
commit3fc8c365b633514e270d06bf27d14f451d83d828 (patch)
tree8dc51bcbc94cd1a08b86fd43ebac447843c8ddda
parent66ebe1f9ba2377dd926746c825133381d23a755c (diff)
downloadmandoc-3fc8c365b633514e270d06bf27d14f451d83d828.tar.gz
mandoc-3fc8c365b633514e270d06bf27d14f451d83d828.tar.zst
mandoc-3fc8c365b633514e270d06bf27d14f451d83d828.zip
Added `Vt' double-type documentation.
-rw-r--r--mdoc.741
1 files changed, 34 insertions, 7 deletions
diff --git a/mdoc.7 b/mdoc.7
index 8207c8b2..63337b67 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -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 <kristaps@kth.se>
.\"
@@ -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