HH\Lib\OS\ftruncate

Meta Engineer?

This is available as OS\ftruncate in the www repository.

namespace HH\Lib\OS;

function ftruncate(
  FileDescriptor $fd,
  int $length,
): void;

Parameters

  • FileDescriptor $fd
  • int $length

Returns

  • void