Add documentation of %m.

This commit is contained in:
Michael Kerrisk 2006-06-07 22:45:42 +00:00
parent 190c7abe49
commit c15f96ddf8
1 changed files with 6 additions and 1 deletions

View 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) .