HH\Lib\OS\fcntl
Control operations for file descriptors
namespace HH\Lib\OS;
function fcntl(
FileDescriptor $fd,
FcntlOp $cmd,
?int $arg = NULL,
): mixed;
See man 2 fcntl
for details. On error, an ErrnoException
will be thrown.
Parameters
FileDescriptor $fd
FcntlOp $cmd
?int $arg = NULL
Returns
mixed