man-pages/man3/Stdlib.LargeFile.3o.html
2021-03-31 01:06:50 +01:00

119 lines
1.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Stdlib.LargeFile</TITLE>
</HEAD><BODY>
<H1>Stdlib.LargeFile</H1>
Section: OCaml library (3o)<BR>Updated: 2020-01-30<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Stdlib.LargeFile - Operations on large files.
<A NAME="lbAC">&nbsp;</A>
<H2>Module</H2>
Module Stdlib.LargeFile
<A NAME="lbAD">&nbsp;</A>
<H2>Documentation</H2>
<P>
Module
<B>LargeFile</B>
<BR>&nbsp;:&nbsp;
<B>sig end</B>
<P>
<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
<B>int64</B>
) instead of
regular integers (type
<B>int</B>
), these alternate functions allow
operating on files whose sizes are greater than
<B>max_int</B>
.
<P>
<P>
<P>
<P>
<P>
<P>
<I>val seek_out </I>
:
<B>out_channel -&gt; int64 -&gt; unit</B>
<P>
<P>
<P>
<P>
<I>val pos_out </I>
:
<B>out_channel -&gt; int64</B>
<P>
<P>
<P>
<P>
<I>val out_channel_length </I>
:
<B>out_channel -&gt; int64</B>
<P>
<P>
<P>
<P>
<I>val seek_in </I>
:
<B>in_channel -&gt; int64 -&gt; unit</B>
<P>
<P>
<P>
<P>
<I>val pos_in </I>
:
<B>in_channel -&gt; int64</B>
<P>
<P>
<P>
<P>
<I>val in_channel_length </I>
:
<B>in_channel -&gt; int64</B>
<P>
<P>
<P>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">Module</A><DD>
<DT id="3"><A HREF="#lbAD">Documentation</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:57 GMT, March 31, 2021
</BODY>
</HTML>