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

eio_fdatasync

PHP function Edit on GitHub ✎

(PECL eio >= 0.0.1dev)

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

Description

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

eio_fdatasync() synchronizes a file's in-core state with storage device.

Parameters

fd

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

pri

Values

callback

Proto

data

Arbitrary variable passed to callback.

Return Values

eio_fdatasync() returns request resource on success,Falseforfailure.

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