Thread (1 message) 1 message, 1 author, 2011-09-20

Re: [PATCH] errno: add numbers to the errno-names

From: Wolfram Sang <hidden>
Date: 2011-09-20 14:43:38

On Fri, Sep 09, 2011 at 04:34:52PM +0200, Michael Kerrisk wrote:
Hello Wolfram,

On Wed, Jul 13, 2011 at 11:03 PM, Wolfram Sang [off-list ref] wrote:
quoted
Kernel logs often print errnos as '%d', so having the numbers next to the
defined names in the man-page is convenient to find out what went wrong.
Also move the indentation from 16 to 21 to make the numbers fit.

Signed-off-by: Wolfram Sang <redacted>
---

The errorcodes were inserted by a little awk-script which parsed the numbers
directly out of the Kernel include-files.
Which Kernel include files? As I recall there is some variation in
errno codes across architectures.
Yes, true. Alpha has a custom one :( Pity!

Thanks for the pointer,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help