package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Structure of entries in the passwd database.

Structure of entries in the passwd database.

type t = Core.Unix.Passwd.t = {
  1. name : string;
  2. passwd : string;
  3. uid : int;
  4. gid : int;
  5. gecos : string;
  6. dir : string;
  7. shell : string;
}
include sig ... end
val shell : t -> string
val dir : t -> string
val gecos : t -> string
val gid : t -> int
val uid : t -> int
val passwd : t -> string
val name : t -> string
module Fields : sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val getbyname : string -> t option Async_kernel.Deferred.t
val getbyname_exn : string -> t Async_kernel.Deferred.t
val getbyuid : int -> t option Async_kernel.Deferred.t
val getbyuid_exn : int -> t Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.