package unix-sys-stat

  1. Overview
  2. Docs
type t = int
type defns = {
  1. access_mask : int;
  2. full_mask : int;
  3. rwxu : int;
  4. rwxg : int;
  5. rwxo : int;
  6. suid : int;
  7. sgid : int;
  8. svtx : int;
}
module Host : sig ... end
val access_of_code : host:Host.t -> int -> t
val full_of_code : host:Host.t -> int -> t
val to_code : host:Host.t -> t -> int
val is_suid : host:Host.t -> t -> bool
val is_sgid : host:Host.t -> t -> bool
val is_sticky : host:Host.t -> t -> bool
val to_string : host:Host.t -> t -> string
val of_string : host:Host.t -> string -> t
OCaml

Innovation. Community. Security.