package async_unix

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

Structure of entries in the groups database.

Structure of entries in the groups database.

type t = Core_unix.Group.t = {
  1. name : string;
  2. passwd : string;
  3. gid : int;
  4. mem : string array;
}
val mem : t -> string array
val gid : t -> int
val passwd : t -> string
val name : t -> string
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val getbyname : string -> t option Async_kernel.Deferred.t
val getbyname_exn : string -> t Async_kernel.Deferred.t
val getbygid : int -> t option Async_kernel.Deferred.t
val getbygid_exn : int -> t Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.