Re: aio_error query

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

 



Hi Jon,

On Sun, Jan 22, 2012 at 10:48 AM, Jon Grant <jg@xxxxxxxx> wrote:
> Hello
>
> http://www.kernel.org/doc/man-pages/online/pages/man3/aio_error.3.html
>
> Is this really positive?

Do you have some counter-evidence?

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

Error numbers are all positive. I don't understand your last sentence above.

Cheers,

Michael


>       *  A positive error, if the asynchronous I/O operation failed. This is
> the
>          same value that would have been stored in the errno variable in the
> case of
>          a synchronous read(2), write(2), fsync(2), or fdatasync(2) call.
>
> Best regards, Jon



-- 
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