package unix-sys-stat

  1. Overview
  2. Docs
ocaml-unix-sys-stat provides access to the features exposed in sys/stat.h

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.1.tar.gz
sha256=d959fc7b9945178d118e19c4e8c3516ac6dffafe45c383d3f026ecef8f82f4f8
md5=486c9e94d8c5278a7cb979ba39bc30bf

doc/unix-sys-stat.unix/Sys_stat_unix/Stat/index.html

Module Sys_stat_unix.Stat

type tag = Unix_sys_stat_bindings.Types.Stat.t
type t = tag Ctypes.structure
val t : t Ctypes.typ
val dev : t -> Posix_types.dev_t
val ino : t -> Posix_types.ino_t
val mode : t -> Posix_types.mode_t
val uid : t -> Posix_types.uid_t
val gid : t -> Posix_types.gid_t
val rdev : t -> Posix_types.dev_t
val size : t -> Posix_types.off_t
val blksize : t -> Posix_types.blksize_t
val blocks : t -> Posix_types.blkcnt_t
val atime : t -> Posix_types.time_t
val mtime : t -> Posix_types.time_t
val ctime : t -> Posix_types.time_t
val to_unix : host:Sys_stat.Host.t -> t -> Unix.LargeFile.stats
OCaml

Innovation. Community. Security.