linux(4): Make struct stat64 to match Linux actual one

This commit is contained in:
Dmitry Chagin 2023-04-28 11:55:04 +03:00
parent cd0fca82bb
commit 80d8a4a003
2 changed files with 10 additions and 12 deletions

View File

@ -216,19 +216,18 @@ struct l_old_stat {
};
struct l_stat64 {
l_ushort st_dev;
u_char __pad0[10];
l_ulonglong st_dev;
u_char __pad0[4];
l_ulong __st_ino;
l_uint st_mode;
l_uint st_nlink;
l_ulong st_uid;
l_ulong st_gid;
l_ushort st_rdev;
u_char __pad3[10];
l_ulonglong st_rdev;
u_char __pad3[4];
l_longlong st_size;
l_ulong st_blksize;
l_ulong st_blocks;
l_ulong __pad4;
l_ulonglong st_blocks;
struct l_timespec st_atim;
struct l_timespec st_mtim;
struct l_timespec st_ctim;

View File

@ -189,19 +189,18 @@ struct l_old_stat {
};
struct l_stat64 {
l_ushort st_dev;
u_char __pad0[10];
l_ulonglong st_dev;
u_char __pad0[4];
l_ulong __st_ino;
l_uint st_mode;
l_uint st_nlink;
l_ulong st_uid;
l_ulong st_gid;
l_ushort st_rdev;
u_char __pad3[10];
l_ulonglong st_rdev;
u_char __pad3[4];
l_longlong st_size;
l_ulong st_blksize;
l_ulong st_blocks;
l_ulong __pad4;
l_ulonglong st_blocks;
struct l_timespec st_atim;
struct l_timespec st_mtim;
struct l_timespec st_ctim;