* aio_return man page different from aio_read
@ 2012-01-21 21:44 Jon Grant
0 siblings, 0 replies; only message in thread
From: Jon Grant @ 2012-01-21 21:44 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-21 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21 21:44 aio_return man page different from aio_read Jon Grant
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.