Re: aio_error query

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

 



Hi Jon,

On Mon, Feb 20, 2012 at 12:15 AM, Jon Grant <jg@xxxxxxxx> wrote:
>
>
> Michael Kerrisk wrote, On 19/02/12 02:40:
>
>> Hi Jon
>>
>> On Sun, Feb 19, 2012 at 9:37 AM, Jon Grant<jg@xxxxxxxx>  wrote:
>>>
>>> Hi Michael
>>>
>>> Michael Kerrisk wrote, On 18/02/12 18:18:
>>> [...]
>>>
>>>>>
>>>>>
>>>>> http://pubs.opengroup.org/onlinepubs/009604599/functions/xsh_chap02_03.html
>>>>> http://www.cl.cam.ac.uk/cgi-bin/manpage?3+errno
>>>>>
>>>>>>> errno is an int, and the values I think are not
>>>>>>> guaranteed to be positive (like with glibc). I work on a system where
>>>>>>> they
>>>>>>> are all negative.
>>>>
>>>>
>>>>
>>>> What is the system?
>>>
>>>
>>>
>>> http://www.mpcdata.com/mediasdk/
>>
>>
>> Is this actually a UNIX system?
>
> No.

(This would have been useful info early in the thread ;-).)

So, I checked with someone close to POSIX who pointed out to me that
there is this text in the POSIX.1-2001 specification of the <errno.h>
header file:

[[
The <errno.h> header shall provide a declaration for errno and give
positive values for the following symbolic constants. Their values
shall be unique except as noted below.
]]

So, I think the man page is fine (but you could file a bug with
Renesas about their implementation).

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux