aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-01-26 09:07:09 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-01-26 09:20:50 +1300
commit74b9e29f9245e11f6cb43ba57c86b5f8fec9488f (patch)
tree7435ca073a6bc32cc11e3e2d7ad29498813166e5 /man3
parent2e621720d00a9344639d8935357cafb9f14dc781 (diff)
downloadman-pages-74b9e29f9245e11f6cb43ba57c86b5f8fec9488f.tar.gz
printf.3: Document 'q' length modifier
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/printf.313
1 files changed, 8 insertions, 5 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index fb3b27fc0b..8f58a769b9 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -509,6 +509,12 @@ conversion corresponds to a pointer to a
.I long long int
argument.
.TP
+.B q
+A synonym for
+.BR ll .
+This is a nonstandard extension, derived from BSD;
+avoid its use in new code.
+.TP
.B L
A following
.BR a ,
@@ -524,10 +530,6 @@ conversion corresponds to a
.I long double
argument.
(C99 allows %LF, but SUSv2 does not.)
-.\" .TP
-.\" .B q
-.\" ("quad". 4.4BSD and Linux libc5 only.
-.\" Don't use.)
This is a synonym for
.BR ll .
.TP
@@ -566,7 +568,8 @@ conversion corresponds to a pointer to a
.I ptrdiff_t
argument.
.PP
-SUSv3 specifies all of the above.
+SUSv3 specifies all of the above,
+except for those modifiers explicitly noted as being nonstandard extensions.
SUSv2 specified only the length modifiers
.B h
(in