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/src/IO/os-prim-io-sig.sml
ViewVC logotype

Annotation of /sml/trunk/src/cml/src/IO/os-prim-io-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download)

1 : monnier 2 (* os-prim-io-sig.sml
2 :     *
3 :     * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
4 :     *
5 :     * This is an interface to a PrimIO structure augmented with OS specific
6 :     * functions to create readers and writers.
7 :     *
8 :     * This file was copied from the SML/NJ sources.
9 :     *)
10 :    
11 :     signature OS_PRIM_IO =
12 :     sig
13 :     structure PrimIO : PRIM_IO
14 :    
15 :     type file_desc
16 :    
17 :     val openRd : string -> PrimIO.reader
18 :     val openWr : string -> PrimIO.writer
19 :     val openApp : string -> PrimIO.writer
20 :    
21 :     val mkReader : {
22 :     fd : file_desc,
23 :     name : string
24 :     } -> PrimIO.reader
25 :    
26 :     val mkWriter: {
27 :     fd : file_desc,
28 :     name : string,
29 :     appendMode : bool,
30 :     chunkSize : int
31 :     } -> PrimIO.writer
32 :    
33 :     end
34 :    

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