function PharStreamWrapper::stream_truncate

Parameters

int $new_size:

Return value

bool

File

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

Class

PharStreamWrapper

Namespace

TYPO3\PharStreamWrapper

Code

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

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