public function DrupalLocalStreamWrapper::stream_flush

public DrupalLocalStreamWrapper::stream_flush()

Support for fflush().

Return value

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

Overrides StreamWrapperInterface::stream_flush

See also

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

File

includes/stream_wrappers.inc, line 511
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!stream_wrappers.inc/function/DrupalLocalStreamWrapper::stream_flush/7.x