Skip to content

__waitpid__

builtin · libnexusinterp/corefcn/syscalls-proprietary.cc

: [pid, status, msg] = waitpid (pid, options)

Wait for a child process to change state.

pid selects the child (-1 for any child). options is a bitwise or of WNOHANG, WUNTRACED and WCONTINUE and defaults to 0. When no child can be waited for, pid is -1 and msg says why.