xref: /DragonOS/user/apps/test_utimensat/main.c (revision 1ea2daad8121b77ed704e6d7c3a09f478147441d)
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 }