Руководство по PHP
Пред. |  | След.

# virtual_access

virtual_access -- Check users permissions for a file

## Описание

#include <tsrm_virtual_cwd.h>

int virtual_access ( const char* pathname, int mode, magic TSRMLS_DC )

virtual_access() thread safe wrapper around the access() function that takes per-thread virtual working directories into account.

See also VCWD_ACCESS().

## Список параметров

pathname

  File to check permissions for

mode

  Mode mask

TSRMLS_DC

  Thread context

## Возвращаемые значения

Returns 0 on success and -1 on errors.

Пред. | Начало | След.
tsrm_thread_id | Уровень выше | virtual_chdir_file