public PhpStreamWrapperInterface::stream_truncate($new_size)
Truncate stream.
Will respond to truncation; e.g., through ftruncate().
int $new_size: The new size.
bool TRUE on success, FALSE otherwise.
public function stream_truncate($new_size);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!PhpStreamWrapperInterface.php/function/PhpStreamWrapperInterface::stream_truncate/8.1.x