aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) .