⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os-io.tex

📁 这是我们参加06年全国开源软件的竞赛作品
💻 TEX
字号:
\maybeclearpage\section{The {\cf OS.\-IO} structure}  The {\cf \small OS.\-IO} structure provides a general interface for polling I/O devices, which has been modelled after the Unix SVR4 poll interface.  A {\cf \small poll{\tt\_}\linebreak[0]desc}, created from an I/O descriptor, can be used to test for various polling conditions. \begin{synopsis}\item {\kw{signature}} \textcf{CML\_\linebreak[0]OS\_\linebreak[0]IO}\label{sig-CML_OS_IO}\item {\STRUCTURE} \textcf{OS.IO: CML\_\linebreak[0]OS\_\linebreak[0]IO}\label{str-OS.IO}\end{synopsis}\begin{interface}\Nopagebreak\item {\index{OS_IO@OS\_\linebreak[0]IO!CML_OS_IO@\textcf{CML\_\linebreak[0]OS\_\linebreak[0]IO}}}{\cf OS{\tt\_}\linebreak[0]IO}\marginref{OS\_\linebreak[0]IO}{sig-OS_IO}{sigOSIO}\Nopagebreak\item {\index{pollEvt@pollEvt!CML_OS_IO@\textcf{CML\_\linebreak[0]OS\_\linebreak[0]IO}}}{\kw{val}} {\cf pollEvt: \(\mbox{\cf{}poll\_desc}\;\mbox{\cf{}list}\rightarrow \mbox{\cf{}poll\_info}\;\mbox{\cf{}list}\;\mbox{\cf{}event}\)}\end{interface}\begin{descr}\item {\index{pollEvt@pollEvt!CML_OS_IO@\textcf{CML\_\linebreak[0]OS\_\linebreak[0]IO}}}{\kw{val}} {\cf pollEvt: \(\mbox{\cf{}poll\_desc}\;\mbox{\cf{}list}\rightarrow \mbox{\cf{}poll\_info}\;\mbox{\cf{}list}\;\mbox{\cf{}event}\)}\label{val-CML_OS_IO.pollEvt}\linebreak[3]\hspace*{\fill}\mbox{~~~~\textrm{raises}~{\cf OS.\-Sys\-Err}}\begin{speccomment}\item {\cf \small poll\-Evt \mbox{\cf \small \textit{l}}         } polls a list of poll descriptors \mbox{\cf \small \textit{l}}. 	This will raise {\cf \small OS.\-Sys\-Err} if, for example, 	one of the file descriptors refers to a closed file.\end{speccomment}\end{descr}\begin{seealso}{\cf OS} (\pageref{str-OS}), {\cf OS.\-IO} (\pageref{str-CML_OS.IO})\end{seealso}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -