Module Luv.Pid

val getpid : unit -> int

Evaluates to the pid of the current process.

Binds uv_os_getpid. See getpid(3p).

val getppid : unit -> int

Evaluates to the pid of the parent process.

Binds uv_os_getppid. See getppid(3p).