Skip to contentSkip to conversation

aio_return man page different from aio_read

DISCUSSION Jon Grant 1 participant 1 message Jan 21, 2012 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

Jon Grant

author
#0 lore raw

Hello

aio_read also describes aio_return will return -1 on error:

http://www.kernel.org/doc/man-pages/online/pages/man3/aio_read.3.html

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

http://www.kernel.org/doc/man-pages/online/pages/man3/aio_return.3.html

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html