]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
printf.3: As a nonstandard extension, GNU treats 'll' and 'L' as synonyms
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 25 Jan 2017 20:41:48 +0000 (09:41 +1300)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 25 Jan 2017 20:41:48 +0000 (09:41 +1300)
See https://bugzilla.kernel.org/show_bug.cgi?id=190341.

Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/printf.3

index e216791bc11a89791416406f7cb12005cdf65b2b..d3b1a19ec5d2a73e1c9d04ed9d623316a461d02f 100644 (file)
@@ -530,8 +530,6 @@ conversion corresponds to a
 .I long double
 argument.
 (C99 allows %LF, but SUSv2 does not.)
-This is a synonym for
-.BR ll .
 .TP
 .B j
 A following integer conversion corresponds to an
@@ -601,6 +599,21 @@ and
 .BR Lf ,
 .BR Lg ,
 .BR LG ).
+
+As a nonstandard extension, the GNU implementations treats
+.B ll
+and
+.B L
+as synonyms, so that one can, for example, write
+.BR llg
+(as a synonym for the standards-compliant
+.RB Lg )
+and
+.BR Ld
+(as a synonym for the standards compliant
+.BR lld ).
+Such usage is nonportable.
+.\"
 .SS Conversion specifiers
 A character that specifies the type of conversion to be applied.
 The conversion specifiers and their meanings are: