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

eio_fsync

PHP function Edit on GitHub ✎

(PECL eio >= 0.0.1dev)

Synchronize a file's in-core state with storage device

Description

eio_fsync(mixed $fd, int $pri = EIO_PRI_DEFAULT, callable $callback = NULL, mixed $data = NULL): resource

Synchronize a file's in-core state with storage device

Parameters

fd

Stream, Socket resource, or numeric file descriptor.

pri

Values

callback

Proto

data

Arbitrary variable passed to callback.

Return Values

eio_fsync() returns request resource on success,Falseforfailure.

See Also

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