luv
Luv.Passwd
luv.c
luv.c_function_descriptions
luv.c_type_descriptions
type t = {
username : string;
uid : int;
gid : int;
shell : string option;
homedir : string;
}
Binds uv_passwd_t.
uv_passwd_t
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).
uv_os_get_passwd
getpwuid_r(3p)
Requires libuv 1.9.0.
Feature check: Luv.Require.(has os_get_passwd)
Luv.Require.(has os_get_passwd)