HH\Lib\OS\close
Close the specified FileDescriptor
namespace HH\Lib\OS;
function close(
FileDescriptor $fd,
): void;
See man 2 close for details. On error, an ErrnoException will be thrown.
This function is not automatically retried on EINTR, as close() is not
safe to retry on EINTR.
Parameters
FileDescriptor $fd
Returns
void