downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

eio_fstat> <eio_fchown
[edit] Last updated: Tue, 18 Jun 2013

view this page in

eio_fdatasync

(PECL eio >= 0.0.1dev)

eio_fdatasyncSynchronize a file's in-core state with storage device.

Descrição

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

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

Parâmetros

fd

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

pri

A prioridade de requisição: EIO_PRI_DEFAULT, EIO_PRI_MIN, EIO_PRI_MAX, ou NULL. Se NULL for passado, pri será internamente configurado para EIO_PRI_DEFAULT.

callback

A função callback é chamada quando a requisição for finalizada. Ela deve seguir o seguinte protótipo:

void callback($data, $result);
$data são dados customizados passados para a requisição. $result contém resultados específicas à requisição; basicamente, o valor retornado pela chamada de sistema correspondente.

data

Arbitrary variable passed to callback.

Valor Retornado

eio_fdatasync() returns request resource on success or FALSE on error.



add a note add a note User Contributed Notes eio_fdatasync - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites