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.