Page
Library
Module
Module type
Parameter
Class
Class type
Source
Bigstring_unixSourceThis is equivalent to Bigstring.t. It is redifined here to avoid depending on Bigstring.
These I/O functions are missing from the Bigarray library. They release the runtime during I/O.
val with_map_file :
?pos:int64 ->
?len:int ->
?mode:int ->
?flags:open_flag list ->
?shared:bool ->
string ->
(t -> 'a) ->
'awith_map_file name f maps the file into memory, opening it, and call f with a slice pos.... pos+len of the bytes of the file where len is the length of the file if not provided. When f returns, the file is closed.
map_file_descr descr len is a lower-level access to an underlying file descriptor.