]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
printf.3: Document 'q' length modifier
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 25 Jan 2017 20:07:09 +0000 (09:07 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 25 Jan 2017 20:20:50 +0000 (09:20 +1300)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/printf.3

index fb3b27fc0b206632b37152ccda382e302eb43ee6..8f58a769b9b71db8d4d8349234f447588e8a8745 100644 (file)
@@ -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