package fileutils

  1. Overview
  2. Docs
exception UmaskError of string
type umask_error = [
  1. | `Exc of exn
  2. | `NoStickyBit of int
]
val umask : ?error:(string -> [ `Exc of exn | `NoStickyBit of int ] -> unit) -> ?mode:[< `Octal of int | `Symbolic of FileUtilMode.t ] -> [< `Octal of int -> 'a | `Symbolic of [> `Group of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] | `Other of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] | `User of [> `Set of [> `List of [> `Exec | `Read | `Sticky | `StickyO | `Write ] list ] ] ] list -> 'b ] -> 'c
val umask_apply : int -> int
OCaml

Innovation. Community. Security.