You are here

public function DrupalLocalStreamWrapper::stream_tell in Drupal 7

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 522
Drupal stream wrapper interface.

Class

DrupalLocalStreamWrapper
Drupal stream wrapper base class for local files.

Code

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