Thread (1 message) 1 message, 1 author, 2011-10-04
  • (off-list ancestor, not in this archive)
  • Re: aio_cancel · Michael Kerrisk <hidden> · 2011-10-04

Re: aio_cancel

From: Michael Kerrisk <hidden>
Date: 2011-10-04 05:42:16

Possibly related (same subject, not in this thread)

Hi Jon,

On Tue, Oct 4, 2011 at 12:03 AM, Jon Grant [off-list ref] wrote:
Hello

I have a query about the ask about the aio_cancel description please.

http://man7.org/linux/man-pages/online/pages/man3/aio_cancel.3.html

"Normal asynchronous notification occurs for canceled requests.  The request
      return status is set to -1, and the request error status is set
to ECANCELED."

I would like to ask about this description. Could the detail of
"request return status" and "request error status" be described
please.

My assumption

"request return status" -- perhaps the value returned by aio_return()?
"request error status" -- not sure. maybe aio_error() ?

Thank you for taking a look into this.
Your assumption is correct. I added some words to the man page for
version 3.35 to clarify this.

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help