package luv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. username : string;
  2. uid : int;
  3. gid : int;
  4. shell : string option;
  5. homedir : string;
}
val get_passwd : unit -> (t, Error.t) Result.result

Gets passwd entry for the current user.

Binds uv_os_get_passwd. See getpwuid_r(3p).

Requires libuv 1.9.0.

Feature check: Luv.Require.(has os_get_passwd)