Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AbstractPipes.php

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\Pipes

Code

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');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal