xref: /DragonOS/user/apps/test_utimensat/main.c (revision 79ad6e5ba4cf7fd624dfa91a1de35d7e60bdda43)
1 #include <fcntl.h>
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <sys/stat.h>
5 #include <sys/types.h>
6 #include <unistd.h>
7 
8 
9 int main(){
10     int res = utimensat(AT_FDCWD, "/bin/about.elf", NULL, 0);
11     printf("utimensat res = %d\n", res);
12 }