Stdlib.LargeFile(3) OCaml library Stdlib.LargeFile(3)

# [NAME](#NAME)

Stdlib.LargeFile - Operations on large files.

# [Module](#Module)

Module Stdlib.LargeFile

# [Documentation](#Documentation)

Module **LargeFile**  
: **sig end**

Operations on large files. This sub-module provides 64-bit variants of the channel functions that manipulate file positions and file sizes. By representing positions and sizes by 64-bit integers (type **int64** ) instead of regular integers (type **int** ), these alternate functions allow operating on files whose sizes are greater than **max\_int** .

*val seek\_out* : **out\_channel -&gt; int64 -&gt; unit**

*val pos\_out* : **out\_channel -&gt; int64**

*val out\_channel\_length* : **out\_channel -&gt; int64**

*val seek\_in* : **in\_channel -&gt; int64 -&gt; unit**

*val pos\_in* : **in\_channel -&gt; int64**

*val in\_channel\_length* : **in\_channel -&gt; int64**

2026-10-27 OCamldoc

---

Document: Stdlib.LargeFile(3o) from ocaml-4 4.14.4-r4 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
