X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Futimens.h;fp=gnu%2Futimens.h;h=7690e74df578b7de30c84e2d179c1209e11dd52b;hp=37f92b734db3c438b31a9f48ba6df578667e83eb;hb=ee168310ec4227174ace489bf5f81f8c2f91cde0;hpb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 diff --git a/gnu/utimens.h b/gnu/utimens.h index 37f92b7..7690e74 100644 --- a/gnu/utimens.h +++ b/gnu/utimens.h @@ -1,8 +1,7 @@ /* -*- buffer-read-only: t -*- vi: set ro: */ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ #include -int fdutimens (char const *, int, struct timespec const [2]); -int gl_futimens (int, char const *, struct timespec const [2]); +int fdutimens (int, char const *, struct timespec const [2]); int utimens (char const *, struct timespec const [2]); int lutimens (char const *, struct timespec const [2]); @@ -10,12 +9,13 @@ int lutimens (char const *, struct timespec const [2]); # include # include -int fdutimensat (int dir, char const *name, int fd, struct timespec const [2]); +int fdutimensat (int fd, int dir, char const *name, struct timespec const [2], + int atflag); /* Using this function makes application code slightly more readable. */ static inline int -lutimensat (int fd, char const *file, struct timespec const times[2]) +lutimensat (int dir, char const *file, struct timespec const times[2]) { - return utimensat (fd, file, times, AT_SYMLINK_NOFOLLOW); + return utimensat (dir, file, times, AT_SYMLINK_NOFOLLOW); } #endif