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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9 - (view) (download) (as text)

1 : monnier 8 <!-- HTML/os-io.html -->
2 : monnier 2
3 :     <!-- COPYRIGHT (c) 1996 AT\|@AMP\|T Research. -->
4 :    
5 : monnier 8 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
6 :     <HTML>
7 :     <HEAD>
8 :     <TITLE>The OS.IO structure</TITLE>
9 :     </HEAD>
10 :     <BODY>
11 :     <A NAME="top"></A>
12 :     <H1 align=CENTER>The Concurrent ML Reference Manual</H1>
13 :     <HR>
14 :    
15 :    
16 :     <H3>The <CODE>OS.IO</CODE> structure</H3>
17 :     <P>
18 :     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.
19 :     <HR>
20 :     <H4>Synopsis</H4>
21 :     <BLOCKQUOTE>
22 :     <CODE><B>signature </B><A NAME="CML_OS_IO:SIG:SPEC"><CODE>CML_OS_IO</CODE></A><BR>
23 :     <B>structure </B><A NAME="IO:STR:SPEC"><CODE>IO</CODE></A><B> : </B>CML_OS_IO<BR>
24 :     </CODE>
25 :     </BLOCKQUOTE>
26 :     <HR>
27 :     <H4>Interface</H4>
28 :     <BLOCKQUOTE>
29 :     <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>
30 :     <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>
31 :     </CODE>
32 :     </BLOCKQUOTE>
33 :     <H4>Description</H4>
34 :     <DL>
35 :     <DT> <A NAME="SIG:CML_OS_IO.pollEvt:VAL"><CODE>pollEvt <VAR>l</VAR>
36 :     </CODE></A>
37 :     <DD>
38 :     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.
39 :     <BR>
40 :     <BR>
41 :    
42 :     </DL>
43 :     <HR>
44 :     <H4>See Also</H4>
45 :     <BLOCKQUOTE>
46 :     <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>
47 :     </BLOCKQUOTE>
48 :    
49 :    
50 :     <HR>
51 :     <CENTER>
52 :     <B>[ <A HREF="index-all.html">INDEX</A> | <A HREF="#top">TOP</A>
53 :     | <A HREF="core-cml.html">Parent</A> | <A HREF="refman.html">Root</A>
54 :     ]</B>
55 :     </CENTER>
56 :     <P>
57 :     <I>Last Modified April 30, 1996</I><BR>
58 :     <I>Comments to <A HREF="mailto:jhr@research.bell-labs.com">John Reppy.</A></I><BR>
59 :    
60 :     Copyright &copy; 1997 Bell Labs, Lucent Technologies <BR>
61 :    
62 :     <HR>
63 :     </BODY>
64 :     </HTML>

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0