write_file
This commit is contained in:
8
stat_offset.c
Normal file
8
stat_offset.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main() {
|
||||
printf("st_size offset: %zu\n", offsetof(struct stat, st_size));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user