Exemple #1
0
int WRAP(fstatat)(int dirfd, const char *path, struct stat_portable *s, int flags)
{
    struct stat x86_stat;
    int ret = REAL(fstatat)(dirfd, path, &x86_stat, flags);
    stat_ntop(&x86_stat, s);
    return ret;
}
Exemple #2
0
int WRAP(fstat)(int fd, struct stat_portable *s)
{
    struct stat x86_stat;
    int ret = REAL(fstat)(fd, &x86_stat);
    stat_ntop(&x86_stat, s);
    return ret;
}   
Exemple #3
0
int WRAP(lstat)(const char *path, struct stat_portable *s)
{
    struct stat x86_stat;
    int ret = REAL(lstat)(path, &x86_stat);
    stat_ntop(&x86_stat, s);
    return ret;
}
Exemple #4
0
int WRAP(stat)(const char* path, struct stat_portable* s) {
  struct stat mips64_stat;
  int ret = REAL(stat)(path, &mips64_stat);
  stat_ntop(&mips64_stat, s);
  return ret;
}