ocaml-base-compiler

Official release 4.12.1
IN THIS PACKAGE
val lseek : file_descr -> int64 -> mode:seek_command -> int64

See lseek.

val truncate : string -> len:int64 -> unit

See truncate.

val ftruncate : file_descr -> len:int64 -> unit

See ftruncate.

type stats = Unix.LargeFile.stats = {
st_dev : int;(*

Device number

*)
st_ino : int;(*

Inode number

*)
st_kind : file_kind;(*

Kind of the file

*)
st_perm : file_perm;(*

Access rights

*)
st_uid : int;(*

User id of the owner

*)
st_gid : int;(*

Group ID of the file's group

*)
st_rdev : int;(*

Device ID (if special file)

*)
st_size : int64;(*

Size in bytes

*)
st_atime : float;(*

Last access time

*)
st_mtime : float;(*

Last modification time

*)
st_ctime : float;(*

Last status change time

*)
}
val stat : string -> stats
val lstat : string -> stats
val fstat : file_descr -> stats