Overview  Index  Help 
Standard ML Basis Library

OS_PRIM_IO

All Known Implementing Modules:

PosixBinPrimIOPosixTextPrimIO.BinPrimIOPosixTextPrimIO


signature OS_PRIM_IO =
sig
  structure PrimIO : PRIM_IO
  type file_desc
  val openRd : string -> PrimIO.reader
  val openWr : string -> PrimIO.writer
  val openApp : string -> PrimIO.writer
  val mkReader
      : {fd : file_desc, name : string, initBlkMode : bool} -> PrimIO.reader
  val mkWriter
      : {
          fd : file_desc,
          name : string,
          appendMode : bool,
          initBlkMode : bool,
          chunkSize : int
        } ->
          PrimIO.writer
end

 
Type detail

file_desc

type file_desc

     
Value detail

openRd

val openRd : string -> PrimIO.reader


openWr

val openWr : string -> PrimIO.writer


openApp

val openApp : string -> PrimIO.writer


mkReader

val mkReader
    : {fd : file_desc, name : string, initBlkMode : bool} -> PrimIO.reader


mkWriter

val mkWriter
    : {
        fd : file_desc,
        name : string,
        appendMode : bool,
        initBlkMode : bool,
        chunkSize : int
      } ->
        PrimIO.writer

 


Overview  Index  Help 
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).