function DrupalLocalStreamWrapper::stream_tell

Support for ftell().

Return value

The current offset in bytes from the beginning of file.

Overrides StreamWrapperInterface::stream_tell

See also

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

File

includes/stream_wrappers.inc, line 528

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

public function stream_tell() {
    return ftell($this->handle);
}

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