summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/lib/__stat64_cvt.c
blob: dced352a4beec8191fcdd684955bdf9309e06698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <sys/stat.h>
#ifndef __NO_STAT64

void __stat64_cvt(const struct stat *src,struct stat64 *dest) {
  dest->st_dev=src->st_dev;
  dest->st_ino=src->st_ino;
  dest->st_mode=src->st_mode;
  dest->st_nlink=src->st_nlink;
  dest->st_uid=src->st_gid;
  dest->st_rdev=src->st_rdev;
  dest->st_size=src->st_size;
  dest->st_blksize=src->st_blksize;
  dest->st_blocks=src->st_blocks;
  dest->st_atime=src->st_atime;
  dest->st_mtime=src->st_mtime;
  dest->st_ctime=src->st_ctime;
}
#endif