Module Luv.Passwd

type t = {
username : string;
uid : int;
gid : int;
shell : string option;
homedir : string;
}

Binds uv_passwd_t.

val get_passwd : unit -> (tError.t) Result.result

Gets passwd entry for the current user.

Binds uv_os_get_passwd. See getpwuid_r(3p).