function 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 516

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.