module LargeFile:sig
..end
val lseek : Lwt_unix.file_descr -> int64 -> Lwt_unix.seek_command -> int64 Lwt.t
Unix.LargeFile.lseek
val truncate : string -> int64 -> unit Lwt.t
Unix.LargeFile.truncate
val ftruncate : Lwt_unix.file_descr -> int64 -> unit Lwt.t
Unix.LargeFile.ftruncate
typestats =
Unix.LargeFile.stats
= {
|
st_dev : |
|
st_ino : |
|
st_kind : |
|
st_perm : |
|
st_nlink : |
|
st_uid : |
|
st_gid : |
|
st_rdev : |
|
st_size : |
|
st_atime : |
|
st_mtime : |
|
st_ctime : |
val stat : string -> stats Lwt.t
Unix.LargeFile.stat
val lstat : string -> stats Lwt.t
Unix.LargeFile.lstat
val fstat : Lwt_unix.file_descr -> stats Lwt.t
Unix.LargeFile.fstat
val file_exists : string -> bool Lwt.t
file_exists name
tests if a file named name
exists.
Note that file_exists
behaves similarly to
Sys.file_exists
:
file_exists name
will return false
in
circumstances that would make Lwt_unix.LargeFile.stat
raise a
Unix.Unix_error
exception.