function AbstractPipes::hasSystemCallBeenInterrupted
Returns true if a system call has been interrupted.
1 call to AbstractPipes::hasSystemCallBeenInterrupted()
- UnixPipes::readAndWrite in vendor/
symfony/ process/ Pipes/ UnixPipes.php - Reads data in file handles and pipes.
File
-
vendor/
symfony/ process/ Pipes/ AbstractPipes.php, line 56
Class
- AbstractPipes
- @author Romain Neutron <imprec@gmail.com>
Namespace
Symfony\Component\Process\PipesCode
protected function hasSystemCallBeenInterrupted() : bool {
$lastError = $this->lastError;
$this->lastError = null;
// stream_select returns false when the `select` system call is interrupted by an incoming signal
return null !== $lastError && false !== stripos($lastError, 'interrupted system call');
}