eio_fchmod
PHP function
Edit on GitHub ✎
(PECL eio >= 0.0.1dev)
Change file permissions
Description
eio_fchmod(mixed $fd, int $mode, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, mixed $data = NULL): resource
eio_fchmod() changes permissions for the file specified by fd file descriptor.
Parameters
fdStream, Socket resource, or numeric file descriptor, e.g. returned by
eio_open().modeThe new permissions. E.g. 0644.
priValues
callbackProto
dataArbitrary variable passed to
callback.
Return Values
eio_fchmod() returns request resource on success,Falseforfailure.