aboutsummaryrefslogtreecommitdiffstats
path: root/man3/printf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2006-06-07 22:45:42 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2006-06-07 22:45:42 +0000
commitc15f96ddf8d364ccaf1ac8374c33603cec314ad3 (patch)
tree8243848c196e7f9a0edd0a5c64fc6f810c90a991 /man3/printf.3
parent190c7abe49265d77b25470a9e69da4ee54522107 (diff)
downloadman-pages-c15f96ddf8d364ccaf1ac8374c33603cec314ad3.tar.gz
Add documentation of %m.
Diffstat (limited to 'man3/printf.3')
-rw-r--r--man3/printf.37
1 files changed, 6 insertions, 1 deletions
diff --git a/man3/printf.3 b/man3/printf.3
index 67788027a1..2d591f7b28 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -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) .