You are here

public function PharStreamWrapper::stream_truncate in Drupal 7

Parameters

int $new_size:

Return value

bool

File

misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php, line 365

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

public function stream_truncate($new_size) {
  return $this
    ->invokeInternalStreamWrapper('ftruncate', $this->internalResource, $new_size);
}