← All docs
pcntl_sigwaitinfo()
Waits synchronously for one selected Linux signal and returns its number or false.
pcntl_sigwaitinfo()
function pcntl_sigwaitinfo(mixed $signals, mixed $info = []): mixed
Waits synchronously for one selected Linux signal and returns its number or false.
Parameters:
$signals(mixed)$info(mixed), passed by reference, default[], optional
Returns: mixed
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/pcntl/pcntl_sigwaitinfo.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how pcntl_sigwaitinfo is implemented in the compiler, see the internals page.