| Standard ML Basis Library |
signature OS_IO =
sig
structure Kind :
sig
val file : iodesc_kind
val dir : iodesc_kind
val symlink : iodesc_kind
val tty : iodesc_kind
val pipe : iodesc_kind
val socket : iodesc_kind
val device : iodesc_kind
end
eqtype iodesc
eqtype iodesc_kind
type poll_desc
type poll_info
exception Poll
val hash : iodesc -> word
val compare : iodesc * iodesc -> order
val kind : iodesc -> iodesc_kind
val pollDesc : iodesc -> poll_desc option
val pollToIODesc : poll_desc -> iodesc
val pollIn : poll_desc -> poll_desc
val pollOut : poll_desc -> poll_desc
val pollPri : poll_desc -> poll_desc
val poll : poll_desc list * Time.time option -> poll_info list
val isIn : poll_info -> bool
val isOut : poll_info -> bool
val isPri : poll_info -> bool
val infoToPollDesc : poll_info -> poll_desc
end
Type detail |
---|
eqtype iodesc
eqtype iodesc_kind
type poll_desc
type poll_info
Value detail |
---|
val compare : iodesc * iodesc -> order
val kind : iodesc -> iodesc_kind
val pollDesc : iodesc -> poll_desc option
val pollToIODesc : poll_desc -> iodesc
val pollIn : poll_desc -> poll_desc
val pollOut : poll_desc -> poll_desc
val pollPri : poll_desc -> poll_desc
val poll : poll_desc list * Time.time option -> poll_info list
val isIn : poll_info -> bool
val isOut : poll_info -> bool
val isPri : poll_info -> bool
val infoToPollDesc : poll_info -> poll_desc
Exception detail |
---|
exception Poll
| Standard ML Basis Library |
This document may be distributed freely over the internet as long as the copyright notice and license terms below are prominently displayed within every machine-readable copy.
Copyright © 2003 AT&T and Lucent Technologies. All rights reserved.
Permission is granted for internet users to make one paper copy for their
own personal use. Further hardcopy reproduction is strictly prohibited.
Permission to distribute the HTML document electronically on any medium
other than the internet must be requested from the copyright holders by
contacting the editors.
Printed versions of the SML Basis Manual are available from Cambridge
University Press.
To order, please visit
www.cup.org (North America) or
www.cup.cam.ac.uk (outside North America). |