Пример #1
0
int lstat64(char *name, void *st64)
{
    if (smbw_path(name)) {
        double xx[32];
        int ret = lstat(name, xx);
        stat64_convert(xx, st64);
        return ret;
    }
    return real_lstat64(name, st64);
}
Пример #2
0
int fstat64(int fd, void *st64)
{
    if (smbw_fd(fd)) {
        double xx[32];
        int ret = fstat(fd, xx);
        stat64_convert(xx, st64);
        return ret;
    }
    return real_fstat64(fd, st64);
}
Пример #3
0
int lstat64(const char *name, struct stat64 *st64)
{
        check_init("lstat64");
        
	if (smbw_path((char *) name)) {
                struct SMBW_stat statbuf;
		int ret = smbw_stat((char *) name, &statbuf);
		stat64_convert(&statbuf, st64);
		return ret;
	}
        
        return (* smbw_libc.lstat64)((char *) name, st64);
}
Пример #4
0
int fstat64(int fd, struct stat64 *st64)
{
        check_init("fstat64");
        
	if (smbw_fd(fd)) {
                struct SMBW_stat statbuf;
		int ret = smbw_fstat(fd, &statbuf);
		stat64_convert(&statbuf, st64);
		return ret;
	}
        
        return (* smbw_libc.fstat64)(fd, st64);
}