php man page for pcntl_sigtimedwait

Query: pcntl_sigtimedwait

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PCNTL_SIGTIMEDWAIT(3)							 1						     PCNTL_SIGTIMEDWAIT(3)

pcntl_sigtimedwait - Waits for signals, with a timeout

SYNOPSIS
int pcntl_sigtimedwait (array $set, [array &$siginfo], [int $seconds], [int $nanoseconds])
DESCRIPTION
The pcntl_sigtimedwait(3) function operates in exactly the same way as pcntl_sigwaitinfo(3) except that it takes two additional parame- ters, $seconds and $nanoseconds, which enable an upper bound to be placed on the time for which the script is suspended.
PARAMETERS
o $set - Array of signals to wait for. o $siginfo - The $siginfo is set to an array containing informations about the signal. See pcntl_sigwaitinfo(3). o $seconds - Timeout in seconds. o $nanoseconds - Timeout in nanoseconds.
RETURN VALUES
On success, pcntl_sigtimedwait(3) returns a signal number.
SEE ALSO
pcntl_sigprocmask(3), pcntl_sigwaitinfo(3). PHP Documentation Group PCNTL_SIGTIMEDWAIT(3)
Related Man Pages
sigtimedwait(2) - linux
sigwait(3) - osf1
pcntl_sigprocmask(3) - php
pcntl_sigtimedwait(3) - php
time_nanosleep(3) - php
Similar Topics in the Unix Linux Community
Timeout Error