PhpStreamWrapperInterface::stream_truncate

public PhpStreamWrapperInterface::stream_truncate($new_size)

Truncate stream.

Will respond to truncation; e.g., through ftruncate().

Parameters

int $new_size: The new size.

Return value

bool TRUE on success, FALSE otherwise.

File

core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 206

Class

PhpStreamWrapperInterface
Defines a generic PHP stream wrapper interface.

Namespace

Drupal\Core\StreamWrapper

Code

public function stream_truncate($new_size);
doc_Drupal
2016-10-29 09:34:04
Comments
Leave a Comment

Please login to continue.