package luv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val getpid : unit -> int

Evaluates to the pid of the current process.

Binds uv_os_getpid. See getpid(3p).

Requires libuv 1.18.0.

Feature check: Luv.Require.(has os_getpid)

val getppid : unit -> int

Evaluates to the pid of the parent process.

Binds uv_os_getppid. See getppid(3p).

Requires libuv 1.16.0.

Feature check: Luv.Require.(has os_getppid)

OCaml

Innovation. Community. Security.