eio_syncfs

(PECL eio >= 0.0.1dev)

eio_syncfsCalls Linux' syncfs syscall, if available

说锟斤拷

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

锟斤拷锟斤拷

fd

File descriptor

pri

锟斤拷锟斤拷锟斤拷锟斤拷燃锟斤拷锟�EIO_PRI_DEFAULT锟斤拷EIO_PRI_MIN锟斤拷EIO_PRI_MAX 锟斤拷 NULL锟斤拷锟斤拷锟斤拷锟� NULL锟斤拷pri 锟斤拷锟斤拷为 EIO_PRI_DEFAULT锟斤拷

callback

callback 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟绞憋拷锟斤拷锟斤拷谩锟斤拷锟接ζワ拷锟揭伙拷锟皆拷停锟�

void callback(mixed $data, int $result[, resource $req]);
data

锟斤拷锟捷革拷锟斤拷锟斤拷锟斤拷没锟斤拷锟斤拷荨锟�

result

锟斤拷锟斤拷锟斤拷锟侥斤拷锟斤拷锟街碉拷锟酵拷锟斤拷锟斤拷锟接︼拷锟较低筹拷锟斤拷梅锟斤拷氐锟街碉拷锟�

req

锟斤拷选锟斤拷锟斤拷锟斤拷锟斤拷源锟斤拷锟缴憋拷 eio_get_last_error() 之锟斤拷暮锟斤拷锟绞癸拷谩锟�

data

Arbitrary variable passed to callback.

锟斤拷锟斤拷值

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