<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="ExtUnixSpecific.Uname.html"> <link rel="next" href="ExtUnixSpecific.Ioctl.html"> <link rel="Up" href="ExtUnixSpecific.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="ExtUnix" rel="Chapter" href="ExtUnix.html"> <link title="ExtUnixAll" rel="Chapter" href="ExtUnixAll.html"> <link title="ExtUnixSpecific" rel="Chapter" href="ExtUnixSpecific.html"><link title="Bigarray variants" rel="Section" href="#2_Bigarrayvariants"> <title>ExtUnixSpecific.LargeFile</title> </head> <body> <div class="navbar"><a class="pre" href="ExtUnixSpecific.Uname.html" title="ExtUnixSpecific.Uname">Previous</a> <a class="up" href="ExtUnixSpecific.html" title="ExtUnixSpecific">Up</a> <a class="post" href="ExtUnixSpecific.Ioctl.html" title="ExtUnixSpecific.Ioctl">Next</a> </div> <h1>Module <a href="type_ExtUnixSpecific.LargeFile.html">ExtUnixSpecific.LargeFile</a></h1> <pre><span class="keyword">module</span> LargeFile: <code class="code">sig</code> <a href="ExtUnixSpecific.LargeFile.html">..</a> <code class="code">end</code></pre><div class="info"> File operations on large files. This sub-module provides 64-bit variants of the functions ExtUnix.fadvise (for predeclaring an access pattern for file data), ExtUnix.fallocate (for allocating disk space for a file), ExtUnix.all_pread, ExtUnix.single_pread, ExtUnix.pread, ExtUnix.intr_pread, ExtUnix.all_pwrite, ExtUnix.single_pwrite, ExtUnix.pwrite and ExtUnix.intr_pwrite (for reading from or writing to a file descriptor at a given offset). These alternate functions represent positions and sizes by 64-bit integers (type int64) instead of regular integers (type int), thus allowing operating on files whose sizes are greater than max_int.<br> </div> <hr width="100%"> <pre><span id="VALfadvise"><span class="keyword">val</span> fadvise</span> : <code class="type">Unix.file_descr -> int64 -> int64 -> <a href="ExtUnixSpecific.html#TYPEadvice">ExtUnixSpecific.advice</a> -> unit</code></pre><pre><span id="VALfallocate"><span class="keyword">val</span> fallocate</span> : <code class="type">Unix.file_descr -> int64 -> int64 -> unit</code></pre><pre><span id="VALunsafe_all_pread"><span class="keyword">val</span> unsafe_all_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALall_pread"><span class="keyword">val</span> all_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_single_pread"><span class="keyword">val</span> unsafe_single_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALsingle_pread"><span class="keyword">val</span> single_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_pread"><span class="keyword">val</span> unsafe_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALpread"><span class="keyword">val</span> pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_intr_pread"><span class="keyword">val</span> unsafe_intr_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALintr_pread"><span class="keyword">val</span> intr_pread</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_all_pwrite"><span class="keyword">val</span> unsafe_all_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALall_pwrite"><span class="keyword">val</span> all_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_single_pwrite"><span class="keyword">val</span> unsafe_single_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALsingle_pwrite"><span class="keyword">val</span> single_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_pwrite"><span class="keyword">val</span> unsafe_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALpwrite"><span class="keyword">val</span> pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALunsafe_intr_pwrite"><span class="keyword">val</span> unsafe_intr_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><pre><span id="VALintr_pwrite"><span class="keyword">val</span> intr_pwrite</span> : <code class="type">Unix.file_descr -> int64 -> string -> int -> int -> int</code></pre><br> <h2 id="2_Bigarrayvariants">Bigarray variants</h2><br> <pre><span class="keyword">module</span> <a href="ExtUnixSpecific.LargeFile.BA.html">BA</a>: <code class="code">sig</code> <a href="ExtUnixSpecific.LargeFile.BA.html">..</a> <code class="code">end</code></pre><div class="info"> </div> </body></html>