]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
Add documentation of %m.
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 7 Jun 2006 22:45:42 +0000 (22:45 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 7 Jun 2006 22:45:42 +0000 (22:45 +0000)
man3/printf.3

index 67788027a1ada925605691da1d568647d1466c6a..2d591f7b2899122da8c73fca867be30d3ad439f3 100644 (file)
@@ -697,6 +697,11 @@ The number of characters written so far is stored into the integer
 indicated by the
 .I "int *"
 (or variant) pointer argument.  No argument is converted.
+.TP 
+.B m
+(Glibc extension.)  Print output of
+.IR strerror(errno) .
+No argument is required.
 .TP
 .B %
 A `%' is written. No argument is converted. The complete conversion
@@ -840,7 +845,7 @@ Linux libc5 knows about the five C standard flags and the ' flag,
 locale, %m$ and *m$.
 It knows about the length modifiers h,l,L,Z,q, but accepts L and q
 both for long doubles and for long long integers (this is a bug).
-It no longer recognizes FDOU, but adds a new conversion character
+It no longer recognizes FDOU, but adds the conversion character
 .BR m ,
 which outputs
 .IR strerror(errno) .