package luv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. username : string;
  2. uid : Unsigned.ulong;
  3. gid : Unsigned.ulong;
  4. shell : string option;
  5. homedir : string;
}
val get_passwd : unit -> (t, Error.t) 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)

OCaml

Innovation. Community. Security.