Beispiel #1
0
int readlink(char *path, char *buf, size_t bufsize)
{
    if (smbw_path(path)) {
        return smbw_readlink(path, buf, bufsize);
    }

    return real_readlink(path, buf, bufsize);
}
Beispiel #2
0
int readlink(const char *path, char *buf, size_t bufsize)
{
        check_init("readlink");
        
	if (smbw_path((char *) path)) {
		return smbw_readlink(path, (char *) buf, bufsize);
	}
        
        return (* smbw_libc.readlink)((char *) path, buf, bufsize);
}