Phan will automatically use these stubs if the extensions are not installed. Also added a brief README for how to generate the stubs in the first place. Bug: T224893 Change-Id: I1d31d03801fbc7b18dfc758453c95439acd96d19
139 lines
3.5 KiB
Text
139 lines
3.5 KiB
Text
<?php
|
|
// These stubs were generated by the phan stub generator.
|
|
// @phan-stub-for-extension pcntl@7.0.33-0+deb9u3
|
|
|
|
namespace {
|
|
function pcntl_alarm($seconds) {}
|
|
function pcntl_errno() {}
|
|
function pcntl_exec($path, $args = null, $envs = null) {}
|
|
function pcntl_fork() {}
|
|
function pcntl_get_last_error() {}
|
|
function pcntl_getpriority($pid = null, $process_identifier = null) {}
|
|
function pcntl_setpriority($priority, $pid = null, $process_identifier = null) {}
|
|
function pcntl_signal($signo, $handler, $restart_syscalls = null) {}
|
|
function pcntl_signal_dispatch() {}
|
|
function pcntl_sigprocmask($how, $set, &$oldset = null) {}
|
|
function pcntl_sigtimedwait($set, &$info = null, $seconds = null, $nanoseconds = null) {}
|
|
function pcntl_sigwaitinfo($set, &$info = null) {}
|
|
function pcntl_strerror($errno) {}
|
|
function pcntl_wait(&$status, $options = null, &$rusage = null) {}
|
|
function pcntl_waitpid($pid, &$status, $options = null, &$rusage = null) {}
|
|
function pcntl_wexitstatus($status) {}
|
|
function pcntl_wifcontinued($status) {}
|
|
function pcntl_wifexited($status) {}
|
|
function pcntl_wifsignaled($status) {}
|
|
function pcntl_wifstopped($status) {}
|
|
function pcntl_wstopsig($status) {}
|
|
function pcntl_wtermsig($status) {}
|
|
const BUS_ADRALN = 1;
|
|
const BUS_ADRERR = 2;
|
|
const BUS_OBJERR = 3;
|
|
const CLD_CONTINUED = 6;
|
|
const CLD_DUMPED = 3;
|
|
const CLD_EXITED = 1;
|
|
const CLD_KILLED = 2;
|
|
const CLD_STOPPED = 5;
|
|
const CLD_TRAPPED = 4;
|
|
const FPE_FLTDIV = 3;
|
|
const FPE_FLTINV = 7;
|
|
const FPE_FLTOVF = 4;
|
|
const FPE_FLTRES = 6;
|
|
const FPE_FLTSUB = 8;
|
|
const FPE_FLTUND = 7;
|
|
const FPE_INTDIV = 1;
|
|
const FPE_INTOVF = 2;
|
|
const ILL_BADSTK = 8;
|
|
const ILL_COPROC = 7;
|
|
const ILL_ILLADR = 3;
|
|
const ILL_ILLOPC = 1;
|
|
const ILL_ILLOPN = 2;
|
|
const ILL_ILLTRP = 4;
|
|
const ILL_PRVOPC = 5;
|
|
const ILL_PRVREG = 6;
|
|
const PCNTL_E2BIG = 7;
|
|
const PCNTL_EACCES = 13;
|
|
const PCNTL_EAGAIN = 11;
|
|
const PCNTL_ECHILD = 10;
|
|
const PCNTL_EFAULT = 14;
|
|
const PCNTL_EINTR = 4;
|
|
const PCNTL_EINVAL = 22;
|
|
const PCNTL_EIO = 5;
|
|
const PCNTL_EISDIR = 21;
|
|
const PCNTL_ELIBBAD = 80;
|
|
const PCNTL_ELOOP = 40;
|
|
const PCNTL_EMFILE = 24;
|
|
const PCNTL_ENAMETOOLONG = 36;
|
|
const PCNTL_ENFILE = 23;
|
|
const PCNTL_ENOENT = 2;
|
|
const PCNTL_ENOEXEC = 8;
|
|
const PCNTL_ENOMEM = 12;
|
|
const PCNTL_ENOTDIR = 20;
|
|
const PCNTL_EPERM = 1;
|
|
const PCNTL_ESRCH = 3;
|
|
const PCNTL_ETXTBSY = 26;
|
|
const POLL_ERR = 4;
|
|
const POLL_HUP = 6;
|
|
const POLL_IN = 1;
|
|
const POLL_MSG = 3;
|
|
const POLL_OUT = 2;
|
|
const POLL_PRI = 5;
|
|
const PRIO_PGRP = 1;
|
|
const PRIO_PROCESS = 0;
|
|
const PRIO_USER = 2;
|
|
const SEGV_ACCERR = 2;
|
|
const SEGV_MAPERR = 1;
|
|
const SIGABRT = 6;
|
|
const SIGALRM = 14;
|
|
const SIGBABY = 31;
|
|
const SIGBUS = 7;
|
|
const SIGCHLD = 17;
|
|
const SIGCLD = 17;
|
|
const SIGCONT = 18;
|
|
const SIGFPE = 8;
|
|
const SIGHUP = 1;
|
|
const SIGILL = 4;
|
|
const SIGINT = 2;
|
|
const SIGIO = 29;
|
|
const SIGIOT = 6;
|
|
const SIGKILL = 9;
|
|
const SIGPIPE = 13;
|
|
const SIGPOLL = 29;
|
|
const SIGPROF = 27;
|
|
const SIGPWR = 30;
|
|
const SIGQUIT = 3;
|
|
const SIGSEGV = 11;
|
|
const SIGSTKFLT = 16;
|
|
const SIGSTOP = 19;
|
|
const SIGSYS = 31;
|
|
const SIGTERM = 15;
|
|
const SIGTRAP = 5;
|
|
const SIGTSTP = 20;
|
|
const SIGTTIN = 21;
|
|
const SIGTTOU = 22;
|
|
const SIGURG = 23;
|
|
const SIGUSR1 = 10;
|
|
const SIGUSR2 = 12;
|
|
const SIGVTALRM = 26;
|
|
const SIGWINCH = 28;
|
|
const SIGXCPU = 24;
|
|
const SIGXFSZ = 25;
|
|
const SIG_BLOCK = 0;
|
|
const SIG_DFL = 0;
|
|
const SIG_ERR = -1;
|
|
const SIG_IGN = 1;
|
|
const SIG_SETMASK = 2;
|
|
const SIG_UNBLOCK = 1;
|
|
const SI_ASYNCIO = -4;
|
|
const SI_KERNEL = 128;
|
|
const SI_MESGQ = -3;
|
|
const SI_QUEUE = -1;
|
|
const SI_SIGIO = -5;
|
|
const SI_TIMER = -2;
|
|
const SI_TKILL = -6;
|
|
const SI_USER = 0;
|
|
const TRAP_BRKPT = 1;
|
|
const TRAP_TRACE = 2;
|
|
const WCONTINUED = 8;
|
|
const WNOHANG = 1;
|
|
const WUNTRACED = 2;
|
|
}
|