eio_fchown
PHP function
Edit on GitHub ✎
(PECL eio >= 0.0.1dev)
Change file ownership
Description
eio_fchown(mixed $fd, int $uid, int $gid = -1, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, mixed $data = NULL): resource
eio_fchown() changes ownership of the file specified by fd file descriptor.
Parameters
fdStream, Socket resource, or numeric file descriptor.
uidUser ID. Is ignored when equal to -1.
gidGroup ID. Is ignored when equal to -1.
priValues
callbackProto
dataArbitrary variable passed to
callback.
Return Values
eio_fchown() returns request resource on success,Falseforfailure.