1 (* Copyright (C
) 1999-2007 Henry Cejtin
, Matthew Fluet
, Suresh
2 * Jagannathan
, and Stephen Weeks
.
4 * MLton is released under a BSD
-style license
.
5 * See the file MLton
-LICENSE for details
.
11 val castFromSysWord
: SysWord
.word -> t
12 val castToSysWord
: t
-> SysWord
.t
14 signature C_FLAGTYPE
=
23 structure C_DirP
: C_SYSTYPE
= C_DirP
26 structure C_NFds
: sig
28 val fromInt
: Int.int -> t
31 (* from
<resource
.h
> *)
32 structure C_RLim
: C_SYSTYPE
= C_RLim
34 (* from
<sys
/types
.h
> *)
35 structure C_Clock
: sig
37 val castFromFixedInt
: FixedInt
.int -> t
38 val toLargeInt
: t
-> LargeInt
.int
40 structure C_Dev
: C_SYSTYPE
= C_Dev
41 structure C_GId
: C_SYSTYPE
= C_GId
42 structure C_INo
: C_SYSTYPE
= C_INo
43 structure C_Mode
: C_FLAGTYPE
= C_Mode
44 structure C_NLink
: sig
48 structure C_Off
= C_Off
51 val castFromFixedInt
: FixedInt
.int -> t
54 structure C_SSize
: sig
56 val castFromFixedInt
: FixedInt
.int -> t
57 val toInt
: t
-> Int.int
59 structure C_SUSeconds
: sig
61 val castFromFixedInt
: FixedInt
.int -> t
62 val fromLargeInt
: LargeInt
.int -> t
63 val toLargeInt
: t
-> LargeInt
.int
65 structure C_Time
: sig
67 val castFromFixedInt
: FixedInt
.int -> t
68 val fromInt
: Int.int -> t
69 val fromLargeInt
: LargeInt
.int -> t
70 val toInt
: t
-> Int.int
71 val toLargeInt
: t
-> LargeInt
.int
73 structure C_UId
: C_SYSTYPE
= C_UId
75 (* from
<sys
/socket
.h
> *)
76 structure C_Socklen
= C_Socklen
78 (* from
<termios
.h
> *)
79 structure C_CC
: C_SYSTYPE
= C_CC
80 structure C_Speed
: sig
82 val compare
: t
* t
-> order
84 structure C_TCFlag
: C_FLAGTYPE
= C_TCFlag