public function LocalStream::stream_flush

Support for fflush().

Return value

bool TRUE if data was successfully stored (or there was no data to store).

Overrides PhpStreamWrapperInterface::stream_flush

See also

http://php.net/manual/streamwrapper.stream-flush.php

1 method overrides LocalStream::stream_flush()
LocalReadOnlyStream::stream_flush in drupal/core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php
Support for fflush().

File

drupal/core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 300
Definition of Drupal\Core\StreamWrapper\LocalStream.

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_flush() {
  return fflush($this->handle);
}