Beispiel #1
0
int access(char *name, int mode)
{
    if (smbw_path(name)) {
        return smbw_access(name, mode);
    }

    return real_access(name, mode);
}
Beispiel #2
0
int access(const char *name, int mode)
{
        check_init("access");
        
	if (smbw_path((char *) name)) {
		return smbw_access((char *) name, mode);
	}
        
        return (* smbw_libc.access)((char *) name, mode);
}