php8.5
Home/ Manual/ eio / functions/ eio_fchmod

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

fd

Stream, Socket resource, or numeric file descriptor, e.g. returned by eio_open().

mode

The new permissions. E.g. 0644.

pri

Values

callback

Proto

data

Arbitrary variable passed to callback.

Return Values

eio_fchmod() returns request resource on success,Falseforfailure.

See Also

Source: reference/eio/functions/eio-fchmod.xml · from the official PHP manual (php/doc-en)