From: Michael Kerrisk Date: Wed, 7 Jun 2006 22:45:42 +0000 (+0000) Subject: Add documentation of %m. X-Git-Tag: man-pages-2.34~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c15f96ddf8d364ccaf1ac8374c33603cec314ad3;p=thirdparty%2Fman-pages.git Add documentation of %m. --- 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) .