module Passwd: sig .. end
Structure of entries in the passwd database.
type t = {
|
name :string; |
|
passwd :string; |
|
uid :int; |
|
gid :int; |
|
gecos :string; |
|
dir :string; |
|
shell :string; |
}
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 getbyname : string -> t option Import.Deferred.t
val getbyname_exn : string -> t Import.Deferred.t
val getbyuid : int -> t option Import.Deferred.t
val getbyuid_exn : int -> t Import.Deferred.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t