Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/cml/doc/HTML/os-io.html
ViewVC logotype

View of /sml/trunk/src/cml/doc/HTML/os-io.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 106 - (download) (as text) (annotate)
Thu May 28 21:30:17 1998 UTC (22 years, 2 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/cml/doc/HTML/os-io.html
File size: 2272 byte(s)
<!-- HTML/os-io.html -->

<!-- COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies. -->
<!-- COPYRIGHT (c) 1996 AT\|@AMP\|T Research. -->

<TITLE>The OS.IO structure</TITLE>
<BODY><A NAME="top"></A>
<H1 align=CENTER>The Concurrent ML Reference Manual</H1>

<H2><A NAME="section:0">The <CODE>OS.IO</CODE> structure</A></H2>
<B>structure </B><A NAME="IO:STR:SPEC"><CODE>IO</CODE></A><B> : </B>CML_OS_IO<BR>
  The OS.IO structure provides a general interface for polling I/O devices, which has been modelled after the Unix SVR4 poll interface.  A <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os-io.html#SIG:OS_IO.poll_desc:TY:SPEC">poll_desc</A>, created from an I/O descriptor, can be used to test for various polling conditions. 
<CODE><B>include</B> <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os-io.html#OS_IO:SIG:SPEC">OS_IO</A><BR>
<B>val</B> <A NAME="SIG:CML_OS_IO.pollEvt:VAL:SPEC" HREF="#SIG:CML_OS_IO.pollEvt:VAL">pollEvt</A> <B>:</B> poll_desc list -&gt; poll_info list event 	<BR>
<DT> <A NAME="SIG:CML_OS_IO.pollEvt:VAL"><CODE>pollEvt <VAR>l</VAR>
polls a list of poll descriptors <VAR>l</VAR>. 	This will raise <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os.html#SIG:OS.SysErr:EXN:SPEC">OS.SysErr</A> if, for example, 	one of the file descriptors refers to a closed file.

<H4>See Also</H4>
<A HREF="os.html#OS:STR:SPEC">OS</A>, <A HREF="http://www.cs.bell-labs.com/~jhr/sml/basis/pages/os.html#SIG:OS.IO:STR:SPEC">OS.IO</A>

<B>[ <A HREF="#top">Top</A>
   | <A HREF="core-cml.html">Parent</A>
   | <A HREF="toc.html">Contents</A>
   | <A HREF="index-all.html">Index</A>
   | <A HREF="refman.html">Root</A>
<I>Last Modified &date;</I><BR>
<I>Comments to <A HREF="mailto:jhr@research.bell-labs.com">John Reppy.</A></I><BR>

Copyright &copy; 1998 Bell Labs, Lucent Technologies <BR>


ViewVC Help
Powered by ViewVC 1.0.0