aio_return man page different from aio_read

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


aio_read also describes aio_return will return -1 on error:

However, aio_return man page does not explain this, it says the error code returned directly:

"If the asynchronous I/O operation has completed, this function returns the
value that would have been returned in case of a synchronous read(2),
       write(2), fsync(2) or fdatasync(2), call."

I don't know which is correct.

Best regards, Jon
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Memory]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]     [Linux Resources]

  Powered by Linux