summaryrefslogtreecommitdiffstats
path: root/share/man/man7
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-11-02 13:23:56 +0000
committerphantom <phantom@FreeBSD.org>1999-11-02 13:23:56 +0000
commit36ba1346adb65122af2c0e9e44947dc606bd7b50 (patch)
treec2f837f52cf33e2ef7fe1d9fcdfd91f5cce39043 /share/man/man7
parentfef7f86724cc841c0acf5a42af4d30ca3eb8f468 (diff)
downloadFreeBSD-src-36ba1346adb65122af2c0e9e44947dc606bd7b50.zip
FreeBSD-src-36ba1346adb65122af2c0e9e44947dc606bd7b50.tar.gz
Document .St macro.
Diffstat (limited to 'share/man/man7')
-rw-r--r--share/man/man7/mdoc.75
-rw-r--r--share/man/man7/mdoc.samples.751
2 files changed, 55 insertions, 1 deletions
diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7
index a56441b..ecaedd3 100644
--- a/share/man/man7/mdoc.7
+++ b/share/man/man7/mdoc.7
@@ -302,7 +302,10 @@ Produces
.It Li \&Op Ta Yes Ta Yes Ta "Option (also .Oo and .Oc)."
.It Li \&Ot Ta Yes Ta Yes Ta "Old style function type (Fortran only)."
.It Li \&Pa Ta Yes Ta Yes Ta "Pathname or file name."
-.It Li \&St Ta Yes Ta Yes Ta "Standards (-p1003.2, -p1003.1 or -ansiC)"
+.It Li \&St Ta Yes Ta Yes Ta "Standard; see"
+.Xr mdoc.samples 7 ,
+.Sx Standards
+section for complete list of known standards
.It Li \&Ta Ta Yes Ta Yes Ta "Tab align next table column."
.It Li \&Va Ta Yes Ta Yes Ta "Variable name."
.It Li \&Vt Ta Yes Ta Yes Ta "Variable type (Fortran only)."
diff --git a/share/man/man7/mdoc.samples.7 b/share/man/man7/mdoc.samples.7
index 3217964..eb8010c 100644
--- a/share/man/man7/mdoc.samples.7
+++ b/share/man/man7/mdoc.samples.7
@@ -148,6 +148,7 @@ outlined as follows:
.It "Names" .
.It "Options" .
.It "Pathnames" .
+.It "Standards" .
.It "Variables" .
.It "Cross References" .
.El
@@ -1350,6 +1351,56 @@ macro formats path or file names.
The
.Ql \&.Pa
macro is parsed and is callable.
+.Ss Standards
+The
+.Ql \&.St
+macro replaces standard abbreviature with its formal name.
+.Pp
+.Dl Usage: .St abbreviature
+.Pp
+Available pairs for
+.Dq Abbreviature/Formal Name
+are:
+.Bl -tag -width "-p1003.2-92XX." -compact -offset indent
+.It Li "-ansiC"
+.St -ansiC
+.It Li "-ansiC-89"
+.St -ansiC-89
+.It Li "-ieee754"
+.St -ieee754
+.It Li "-iso8802-3"
+.St -iso8802-3
+.It Li "-iso9899"
+.St -iso9899
+.It Li "-iso9945-1"
+.St -iso9945-1
+.It Li "-isoC"
+.St -isoC
+.It Li "-p1003.1"
+.St -p1003.1
+.It Li "-p1003.1-88"
+.St -p1003.1-88
+.It Li "-p1003.1-90"
+.St -p1003.1-90
+.It Li "-p1003.1b"
+.St -p1003.1b
+.It Li "-p1003.1b-93"
+.St -p1003.1b-93
+.It Li "-p1003.1g"
+.St -p1003.1g
+.It Li "-p1003.2"
+.St -p1003.2
+.It Li "-p1003.2-92"
+.St -p1003.2-92
+.It Li "-susv2"
+.St -susv2
+.It Li "-xpg3"
+.St -xpg3
+.It Li "-xpg4"
+.St -xpg4
+.It Li "-xpg4.2"
+.St -xpg4.2
+.El
.Ss Variables
Generic variable reference:
.Pp
OpenPOWER on IntegriCloud