package luv

  1. Overview
  2. Docs
Binding to libuv: cross-platform asynchronous I/O

Install

Dune Dependency

Authors

Maintainers

Sources

luv-0.5.11.tar.gz
sha256=ccecf47311b384b8b7437eaac92b4d0b3f091971ed10241f672b0c2a2c8a3a43
md5=efe61a4b4725d59901984022c02ef698

doc/luv/Luv/Passwd/index.html

Module Luv.PasswdSource

Sourcetype t = {
  1. username : string;
  2. uid : int;
  3. gid : int;
  4. shell : string option;
  5. homedir : string;
}
Sourceval 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)

OCaml

Innovation. Community. Security.