array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.eio-unlink.php', 1 => 'eio_unlink', 2 => 'Delete a name and possibly the file it refers to', ), 'up' => array ( 0 => 'ref.eio.php', 1 => 'Функції Eio', ), 'prev' => array ( 0 => 'function.eio-truncate.php', 1 => 'eio_truncate', ), 'next' => array ( 0 => 'function.eio-utime.php', 1 => 'eio_utime', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/eio/functions/eio-unlink.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL eio >= 0.0.1dev)
eio_unlink — Delete a name and possibly the file it refers to
$path,$pri = EIO_PRI_DEFAULT,$callback = NULL,$data = NULLeio_unlink() deletes a name from the file system.
pathPath to file
priПріоритет запиту: EIO_PRI_DEFAULT, EIO_PRI_MIN, EIO_PRI_MAX або null.
Якщо параметру pri
задано значення null, то пріоритетом буде
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_unlink() returns request resource on success, або false в разі помилки.