📄 aio.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><aio.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_001_098"> </a>NAME</h4><blockquote>aio.h - asynchronous input and output(<b>REALTIME</b>)</blockquote><h4><a name = "tag_000_001_099"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <aio.h></code></pre></blockquote><h4><a name = "tag_000_001_100"> </a>DESCRIPTION</h4><blockquote>The<i><aio.h></i>header defines the<b>aiocb</b>structure which includes at least the following members:<pre><code>int aio_fildes file descriptoroff_t aio_offset file offsetvolatile void* aio_buf location of buffersize_t aio_nbytes length of transferint aio_reqprio request priority offsetstruct sigevent aio_sigevent signal number and valueint aio_lio_opcode operation to be performed</code></pre><p>This header also includes the following constants:<pre>AIO_CANCELEDAIO_NOTCANCELEDAIO_ALLDONELIO_WAITLIO_NOWAITLIO_READLIO_WRITELIO_NOP</pre><p>The following are declared as functions and may also be declared asmacros. Function prototypes must be provided for use with an ISO Ccompiler.<pre><code>int <a href="aio_cancel.html">aio_cancel</a>(int, struct aiocb *);int <a href="aio_error.html">aio_error</a>(const struct aiocb *);int <a href="aio_fsync.html">aio_fsync</a>(int, struct aiocb *);int <a href="aio_read.html">aio_read</a>(struct aiocb *);ssize_t <a href="aio_return.html">aio_return</a>(struct aiocb *);int <a href="aio_suspend.html">aio_suspend</a>(const struct aiocb *const[], int, const struct timespec *);int <a href="aio_write.html">aio_write</a>(struct aiocb *);int <a href="lio_listio.html">lio_listio</a>(int, struct aiocb *const[], int, struct sigevent *);</code></pre><p>Inclusion of the<i><aio.h></i>header may make visible symbols defined in the headers<i><a href="fcntl.h.html"><fcntl.h></a></i>,<i><a href="signal.h.html"><signal.h></a></i>,<i><a href="systypes.h.html"><sys/types.h></a></i>and<i><a href="time.h.html"><time.h></a></i>.</blockquote><h4><a name = "tag_000_001_101"> </a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_001_102"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_001_103"> </a>SEE ALSO</h4><blockquote><i><a href="fsync.html">fsync()</a></i>,<i><a href="lseek.html">lseek()</a></i>,<i><a href="read.html">read()</a></i>,<i><a href="write.html">write()</a></i>,<i><a href="fcntl.h.html"><fcntl.h></a></i>,<i><a href="signal.h.html"><signal.h></a></i>,<i><a href="systypes.h.html"><sys/types.h></a></i>,<i><a href="time.h.html"><time.h></a></i>.<br></blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -