1Stdlib.LargeFile(3) OCaml library Stdlib.LargeFile(3)
2
3
4
6 Stdlib.LargeFile - Operations on large files.
7
9 Module Stdlib.LargeFile
10
12 Module LargeFile
13 : sig end
14
15
16 Operations on large files. This sub-module provides 64-bit variants of
17 the channel functions that manipulate file positions and file sizes.
18 By representing positions and sizes by 64-bit integers (type int64 )
19 instead of regular integers (type int ), these alternate functions al‐
20 low operating on files whose sizes are greater than max_int .
21
22
23
24
25
26
27 val seek_out : out_channel -> int64 -> unit
28
29
30
31
32 val pos_out : out_channel -> int64
33
34
35
36
37 val out_channel_length : out_channel -> int64
38
39
40
41
42 val seek_in : in_channel -> int64 -> unit
43
44
45
46
47 val pos_in : in_channel -> int64
48
49
50
51
52 val in_channel_length : in_channel -> int64
53
54
55
56
57
58
59OCamldoc 2022-07-22 Stdlib.LargeFile(3)