moonpool/dev/ocaml/Stdlib/LargeFile/index.html
2023-08-28 17:11:38 +00:00

2 lines
No EOL
3.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>LargeFile (ocaml.Stdlib.LargeFile)</title><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 2.2.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> <a href="../../index.html">ocaml</a> &#x00BB; <a href="../index.html">Stdlib</a> &#x00BB; LargeFile</nav><header class="odoc-preamble"><h1>Module <code><span>Stdlib.LargeFile</span></code></h1><p>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 <code>int64</code>) instead of regular integers (type <code>int</code>), these alternate functions allow operating on files whose sizes are greater than <code>max_int</code>.</p></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-seek_out"><a href="#val-seek_out" class="anchor"></a><code><span><span class="keyword">val</span> seek_out : <span><a href="../index.html#type-out_channel">out_channel</a> <span class="arrow">&#45;&gt;</span></span> <span>int64 <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pos_out"><a href="#val-pos_out" class="anchor"></a><code><span><span class="keyword">val</span> pos_out : <span><a href="../index.html#type-out_channel">out_channel</a> <span class="arrow">&#45;&gt;</span></span> int64</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-out_channel_length"><a href="#val-out_channel_length" class="anchor"></a><code><span><span class="keyword">val</span> out_channel_length : <span><a href="../index.html#type-out_channel">out_channel</a> <span class="arrow">&#45;&gt;</span></span> int64</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-seek_in"><a href="#val-seek_in" class="anchor"></a><code><span><span class="keyword">val</span> seek_in : <span><a href="../index.html#type-in_channel">in_channel</a> <span class="arrow">&#45;&gt;</span></span> <span>int64 <span class="arrow">&#45;&gt;</span></span> unit</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-pos_in"><a href="#val-pos_in" class="anchor"></a><code><span><span class="keyword">val</span> pos_in : <span><a href="../index.html#type-in_channel">in_channel</a> <span class="arrow">&#45;&gt;</span></span> int64</span></code></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-in_channel_length"><a href="#val-in_channel_length" class="anchor"></a><code><span><span class="keyword">val</span> in_channel_length : <span><a href="../index.html#type-in_channel">in_channel</a> <span class="arrow">&#45;&gt;</span></span> int64</span></code></div></div></div></body></html>