bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errno --> errno name ?


From: Bruce Korb
Subject: Re: errno --> errno name ?
Date: Thu, 04 Aug 2011 16:38:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11


Well, after some suggestions from Bruno, I fixed up the "mk" script
to be more portable, tho I haven't tried it on Solaris' /bin/sh.
Probably won't work.  I don't have access.  It might work.
It remains a program and not a library function, too.
One interesting thing I discovered:

$ errno . | head -n4 ; echo '[...]';errno . | tail -n4
looking for matches to:  '.'
    1 (EPERM. . . . . ) == Operation not permitted
    2 (ENOENT . . . . ) == No such file or directory
    3 (ESRCH. . . . . ) == No such process
[...]
  130 (EOWNERDEAD . . ) == Owner died
  131 (ENOTRECOVERABLE) == State not recoverable
  132 (ERFKILL. . . . ) == Unknown error 132

Oops.

Attachment: errno.txz
Description: application/xz-compressed-tar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]