module Group: sig .. end
Structure of entries in the groups database.
type t = {
|
name :string; |
|
passwd :string; |
|
gid :int; |
|
mem :string array; |
}
val mem : t -> string array
val gid : 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 getbygid : int -> t option Import.Deferred.t
val getbygid_exn : int -> t Import.Deferred.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t