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/runtime/c-libs/posix-io/cfun-list.h
ViewVC logotype

Annotation of /sml/trunk/src/runtime/c-libs/posix-io/cfun-list.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download) (as text)

1 : monnier 2 /* cfun-list.h
2 :     *
3 :     * COPYRIGHT (c) 1995 AT&T Bell Laboratories.
4 :     *
5 :     * This file lists the directory library of C functions that are callable by ML.
6 :     */
7 :    
8 :     #ifndef CLIB_NAME
9 :     #define CLIB_NAME "POSIX-IO"
10 :     #define CLIB_VERSION "1.0"
11 :     #define CLIB_DATE "February 16, 1995"
12 :     #endif
13 :    
14 :     CFUNC("osval", _ml_P_IO_osval, "string -> int")
15 :     CFUNC("pipe", _ml_P_IO_pipe, "unit -> int * int")
16 :     CFUNC("dup", _ml_P_IO_dup, "int -> int")
17 :     CFUNC("dup2", _ml_P_IO_dup2, "int * int -> unit")
18 :     CFUNC("close", _ml_P_IO_close, "int -> unit")
19 :     CFUNC("read", _ml_P_IO_read, "int * int -> Word8Vector.vector")
20 :     CFUNC("readbuf", _ml_P_IO_readbuf, "int * Word8Array.array * int -> int")
21 :     CFUNC("write", _ml_P_IO_write, "int * Word8Vector.vector * int -> int")
22 :     CFUNC("writebuf", _ml_P_IO_writebuf, "int * Word8Array.array * int * int -> int")
23 :     CFUNC("fcntl_d", _ml_P_IO_fcntl_d, "int * int -> int")
24 :     CFUNC("fcntl_gfd", _ml_P_IO_fcntl_gfd, "int -> word")
25 :     CFUNC("fcntl_sfd", _ml_P_IO_fcntl_sfd, "int * word -> unit")
26 :     CFUNC("fcntl_gfl", _ml_P_IO_fcntl_gfl, "int -> word * word")
27 :     CFUNC("fcntl_sfl", _ml_P_IO_fcntl_sfl, "int * word -> unit")
28 :     CFUNC("fcntl_l", _ml_P_IO_fcntl_l, "int * int * flock_rep -> flock_rep")
29 :     CFUNC("lseek", _ml_P_IO_lseek, "int * int * int -> offset")
30 :     CFUNC("fsync", _ml_P_IO_fsync, "int -> unit")
31 :    

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