Implemented stat syscall

This commit is contained in:
Eduard Urbach 2025-04-15 18:56:01 +02:00
parent 98abc0d3a8
commit c238e3a190
Signed by: eduard
GPG key ID: 49226B848C78F6C8
6 changed files with 69 additions and 0 deletions

View file

@ -5,6 +5,29 @@ sockaddr_in {
sin_zero int64
}
file_stat {
st_dev uint64
st_ino uint64
st_nlink uint64
st_mode uint32
st_uid uint32
st_gid uint32
_ uint32
st_rdev uint64
st_size int64
st_blksize int64
st_blocks int64
st_atime int64
st_atime_nsec int64
st_mtime int64
st_mtime_nsec int64
st_ctime int64
st_ctime_nsec int64
_ int64
_ int64
_ int64
}
timespec {
seconds int64
nanoseconds int64