Module Luv__.Passwd
type t
=
{
username : string;
uid : int;
gid : int;
shell : string option;
homedir : string;
}
Binds
uv_passwd_t
.
val get_passwd : unit -> (t, Luv.Error.t) Result.result
Gets passwd entry for the current user.
Binds
uv_os_get_passwd
. Seegetpwuid_r(3p)
.Requires libuv 1.9.0.
Feature check:
Luv.Require.(has os_get_passwd)