2 // These stubs were generated by the phan stub generator.
3 // @phan-stub-for-extension pcntl@7.0.33-0+deb9u3
6 function pcntl_alarm($seconds) {}
7 function pcntl_errno() {}
8 function pcntl_exec($path, $args = null, $envs = null) {}
9 function pcntl_fork() {}
10 function pcntl_get_last_error() {}
11 function pcntl_getpriority($pid = null, $process_identifier = null) {}
12 function pcntl_setpriority($priority, $pid = null, $process_identifier = null) {}
13 function pcntl_signal($signo, $handler, $restart_syscalls = null) {}
14 function pcntl_signal_dispatch() {}
15 function pcntl_sigprocmask($how, $set, &$oldset = null) {}
16 function pcntl_sigtimedwait($set, &$info = null, $seconds = null, $nanoseconds = null) {}
17 function pcntl_sigwaitinfo($set, &$info = null) {}
18 function pcntl_strerror($errno) {}
19 function pcntl_wait(&$status, $options = null, &$rusage = null) {}
20 function pcntl_waitpid($pid, &$status, $options = null, &$rusage = null) {}
21 function pcntl_wexitstatus($status) {}
22 function pcntl_wifcontinued($status) {}
23 function pcntl_wifexited($status) {}
24 function pcntl_wifsignaled($status) {}
25 function pcntl_wifstopped($status) {}
26 function pcntl_wstopsig($status) {}
27 function pcntl_wtermsig($status) {}
31 const CLD_CONTINUED = 6;
35 const CLD_STOPPED = 5;
36 const CLD_TRAPPED = 4;
53 const PCNTL_E2BIG = 7;
54 const PCNTL_EACCES = 13;
55 const PCNTL_EAGAIN = 11;
56 const PCNTL_ECHILD = 10;
57 const PCNTL_EFAULT = 14;
58 const PCNTL_EINTR = 4;
59 const PCNTL_EINVAL = 22;
61 const PCNTL_EISDIR = 21;
62 const PCNTL_ELIBBAD = 80;
63 const PCNTL_ELOOP = 40;
64 const PCNTL_EMFILE = 24;
65 const PCNTL_ENAMETOOLONG = 36;
66 const PCNTL_ENFILE = 23;
67 const PCNTL_ENOENT = 2;
68 const PCNTL_ENOEXEC = 8;
69 const PCNTL_ENOMEM = 12;
70 const PCNTL_ENOTDIR = 20;
71 const PCNTL_EPERM = 1;
72 const PCNTL_ESRCH = 3;
73 const PCNTL_ETXTBSY = 26;
81 const PRIO_PROCESS = 0;
83 const SEGV_ACCERR = 2;
84 const SEGV_MAPERR = 1;
105 const SIGSTKFLT = 16;
116 const SIGVTALRM = 26;
124 const SIG_SETMASK = 2;
125 const SIG_UNBLOCK = 1;
126 const SI_ASYNCIO = -4;
127 const SI_KERNEL = 128;
134 const TRAP_BRKPT = 1;
135 const TRAP_TRACE = 2;
136 const WCONTINUED = 8;