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

search for in the

eio_ftruncate> <eio_fstatvfs
[edit] Last updated: Fri, 17 May 2013

view this page in

eio_fsync

(PECL eio >= 0.0.1dev)

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

Descrição

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

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

Parâmetros

fd

Stream, Socket resource, or numeric file descriptor.

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_fsync() returns request resource on success or FALSE on error.

Veja Também

  • eio_sync


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

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