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 107 - (view) (download) (as text)

1 : monnier 8 <!-- HTML/os-io.html -->
2 : monnier 2
3 : monnier 106 <!-- COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies. -->
4 : monnier 2 <!-- COPYRIGHT (c) 1996 AT\|@AMP\|T Research. -->
5 :    
6 : monnier 8 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
7 :     <HTML>
8 :     <HEAD>
9 :     <TITLE>The OS.IO structure</TITLE>
10 :     </HEAD>
11 : monnier 106 <BODY><A NAME="top"></A>
12 : monnier 8 <H1 align=CENTER>The Concurrent ML Reference Manual</H1>
13 :     <HR>
14 :    
15 :    
16 : monnier 106 <H2><A NAME="section:0">The <CODE>OS.IO</CODE> structure</A></H2>
17 : monnier 8 <HR>
18 :     <H4>Synopsis</H4>
19 :     <BLOCKQUOTE>
20 :     <CODE><B>signature </B><A NAME="CML_OS_IO:SIG:SPEC"><CODE>CML_OS_IO</CODE></A><BR>
21 :     <B>structure </B><A NAME="IO:STR:SPEC"><CODE>IO</CODE></A><B> : </B>CML_OS_IO<BR>
22 :     </CODE>
23 :     </BLOCKQUOTE>
24 : monnier 106 <P>
25 :     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.
26 : monnier 8 <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 : monnier 106 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 : monnier 8 <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 : monnier 106 <B>[ <A HREF="#top">Top</A>
53 :     | <A HREF="core-cml.html">Parent</A>
54 :     | <A HREF="toc.html">Contents</A>
55 :     | <A HREF="index-all.html">Index</A>
56 :     | <A HREF="refman.html">Root</A>
57 : monnier 8 ]</B>
58 :     </CENTER>
59 :     <P>
60 : monnier 106 <I>Last Modified &date;</I><BR>
61 : monnier 8 <I>Comments to <A HREF="mailto:jhr@research.bell-labs.com">John Reppy.</A></I><BR>
62 :    
63 : monnier 106 Copyright &copy; 1998 Bell Labs, Lucent Technologies <BR>
64 : monnier 8
65 :     <HR>
66 : monnier 106 </BODY></HTML>

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