pcntl-polyfill.php
This file is part of the sshilko/php-sql-mydb package.
(c) Sergei Shilko contact@sshilko.com
MIT License
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Tags
Table of Contents
Constants
- SIG_DFL : mixed = 0
- SIG_ERR : mixed = -1
- SIG_IGN : mixed = 1
- SIGABRT : mixed = 6
- SIGALRM : mixed = 14
- SIGBUS : mixed = 7
- SIGCHLD : mixed = 17
- SIGCONT : mixed = 18
- SIGFPE : mixed = 8
- SIGHUP : mixed = 1
- SIGILL : mixed = 4
- SIGINT : mixed = 2
- SIGIO : mixed = 29
- SIGKILL : mixed = 9
- SIGPIPE : mixed = 13
- SIGPROF : mixed = 27
- SIGPWR : mixed = 30
- SIGQUIT : mixed = 3
- SIGRTMAX : mixed = 64
- SIGRTMIN : mixed = 34
- SIGSEGV : mixed = 11
- SIGSTKFLT : mixed = 16
- SIGSTOP : mixed = 19
- SIGSYS : mixed = 31
- SIGTERM : mixed = 15
- SIGTRAP : mixed = 5
- SIGTSTP : mixed = 20
- SIGTTIN : mixed = 21
- SIGTTOU : mixed = 22
- SIGURG : mixed = 23
- SIGUSR1 : mixed = 10
- SIGUSR2 : mixed = 12
- SIGVTALRM : mixed = 26
- SIGWINCH : mixed = 28
- SIGXCPU : mixed = 24
- SIGXFSZ : mixed = 25
Functions
- pcntl_signal() : bool
- Report that a signal handler was installed, in reality nothing was done.
- pcntl_signal_dispatch() : bool
- Report that pending signals were dispatched, there are none on Windows.
- pcntl_signal_get_handler() : int|string|false
- Report the default signal handler, no handlers are ever installed.
Constants
SIG_DFL
public
mixed
SIG_DFL
= 0
SIG_ERR
public
mixed
SIG_ERR
= -1
SIG_IGN
public
mixed
SIG_IGN
= 1
SIGABRT
public
mixed
SIGABRT
= 6
SIGALRM
public
mixed
SIGALRM
= 14
SIGBUS
public
mixed
SIGBUS
= 7
SIGCHLD
public
mixed
SIGCHLD
= 17
SIGCONT
public
mixed
SIGCONT
= 18
SIGFPE
public
mixed
SIGFPE
= 8
SIGHUP
public
mixed
SIGHUP
= 1
SIGILL
public
mixed
SIGILL
= 4
SIGINT
public
mixed
SIGINT
= 2
SIGIO
public
mixed
SIGIO
= 29
SIGKILL
public
mixed
SIGKILL
= 9
SIGPIPE
public
mixed
SIGPIPE
= 13
SIGPROF
public
mixed
SIGPROF
= 27
SIGPWR
public
mixed
SIGPWR
= 30
SIGQUIT
public
mixed
SIGQUIT
= 3
SIGRTMAX
public
mixed
SIGRTMAX
= 64
SIGRTMIN
public
mixed
SIGRTMIN
= 34
SIGSEGV
public
mixed
SIGSEGV
= 11
SIGSTKFLT
public
mixed
SIGSTKFLT
= 16
SIGSTOP
public
mixed
SIGSTOP
= 19
SIGSYS
public
mixed
SIGSYS
= 31
SIGTERM
public
mixed
SIGTERM
= 15
SIGTRAP
public
mixed
SIGTRAP
= 5
SIGTSTP
public
mixed
SIGTSTP
= 20
SIGTTIN
public
mixed
SIGTTIN
= 21
SIGTTOU
public
mixed
SIGTTOU
= 22
SIGURG
public
mixed
SIGURG
= 23
SIGUSR1
public
mixed
SIGUSR1
= 10
SIGUSR2
public
mixed
SIGUSR2
= 12
SIGVTALRM
public
mixed
SIGVTALRM
= 26
SIGWINCH
public
mixed
SIGWINCH
= 28
SIGXCPU
public
mixed
SIGXCPU
= 24
SIGXFSZ
public
mixed
SIGXFSZ
= 25
Functions
pcntl_signal()
Report that a signal handler was installed, in reality nothing was done.
pcntl_signal(int $signal, int|string|callable $handler[, bool $restartSysCalls = true ]) : bool
Parameters
- $signal : int
- $handler : int|string|callable
- $restartSysCalls : bool = true
Tags
Return values
boolpcntl_signal_dispatch()
Report that pending signals were dispatched, there are none on Windows.
pcntl_signal_dispatch() : bool
Tags
Return values
boolpcntl_signal_get_handler()
Report the default signal handler, no handlers are ever installed.
pcntl_signal_get_handler(int $signal) : int|string|false
Parameters
- $signal : int