package unix-sys-stat

  1. Overview
  2. Docs
type t =
  1. | DIR
  2. | CHR
  3. | BLK
  4. | REG
  5. | FIFO
  6. | LNK
  7. | SOCK
type defns = {
  1. mask : int;
  2. dir : int;
  3. chr : int;
  4. blk : int;
  5. reg : int;
  6. fifo : int;
  7. lnk : int;
  8. sock : int;
}
module Host : sig ... end
val to_char : t -> char
val to_string : t -> string
val to_code : host:Host.t -> t -> int
val of_code_exn : host:Host.t -> int -> t
val of_code : host:Host.t -> int -> t option
OCaml

Innovation. Community. Security.