package async_unix

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

Module Unix.PasswdSource

Structure of entries in the passwd database.

Structure of entries in the passwd database.

Sourcetype 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;
}
Sourceval shell : t -> string
Sourceval dir : t -> string
Sourceval gecos : t -> string
Sourceval gid : t -> int
Sourceval uid : t -> int
Sourceval passwd : t -> string
Sourceval name : t -> string
include Sexplib0.Sexpable.S with type t := t
Sourceval t_of_sexp : Sexplib0.Sexp.t -> t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval getbyname : string -> t option Async_kernel.Deferred.t
Sourceval getbyname_exn : string -> t Async_kernel.Deferred.t
Sourceval getbyuid : int -> t option Async_kernel.Deferred.t
Sourceval getbyuid_exn : int -> t Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.