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/ML-Doc/os-io.mldoc
ViewVC logotype

View of /sml/trunk/src/cml/doc/ML-Doc/os-io.mldoc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (download) (annotate)
Thu May 28 21:30:17 1998 UTC (21 years, 1 month ago) by monnier
File size: 1330 byte(s)
This commit was generated by cvs2svn to compensate for changes in r106,
which included commits to RCS files with non-trunk default branches.
<!-- os-io.mldoc -->

<!DOCTYPE ML-DOC SYSTEM>

<AUTHOR
  NAME="John Reppy"
  EMAIL="jhr@research.att.com"
  YEAR=1996>
<COPYRIGHT OWNER="Bell Labs, Lucent Technologies" YEAR=1998>
<COPYRIGHT OWNER="AT&AMP;T Research" YEAR=1996>
<VERSION VERID="1.4" YEAR=1996 MONTH=4 DAY=30>
<TITLE>The OS.IO structure</TITLE>

<INTERFACE>
<HEAD>The <CD/OS.IO/ structure</HEAD>
<SEEALSO>
  <STRREF TOPID/OS/
  <STRREF DOCUMENT=SML-BASIS-DOC STRID="OS"/OS.IO/
</SEEALSO>

<PP> 
The <STRREF NOLINK/OS.IO/ structure provides a general interface
for polling I/O devices, which has been modelled after the Unix SVR4
poll interface. 
A <TYREF DOCUMENT=SML-BASIS-DOC STRID="OS.IO"/poll_desc/, created from an I/O descriptor, can be
used to test for various polling conditions.

<STRUCTURE STRID="OS.IO" STATUS=REQUIRED>
  <SIGBODY SIGID="CML_OS_IO" FILE=OS-IO-SIG>
    <SPEC>
      <INCLUDE><SIGREF DOCUMENT=SML-BASIS-DOC/OS_IO/
    <SPEC>
      <VAL>pollEvt<TY>poll_desc list -> poll_info list event
	<RAISES><EXNREF DOCUMENT=SML-BASIS-DOC STRID="OS"/OS.SysErr/
      <COMMENT>
        <PROTOTY>
          pollEvt <ARG/l/
        </PROTOTY>
	polls a list of poll descriptors <ARG/l/.
	This will raise <EXNREF DOCUMENT=SML-BASIS-DOC STRID="OS"/OS.SysErr/ if, for example,
	one of the file descriptors refers to a closed file.
</STRUCTURE>
</INTERFACE>


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