X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Futimens.h;h=8c47cf93f887dc05a2e84eb3349d61d91da22177;hb=ca825ce3c2bcb246be95e42464ebc236e4ed67cb;hp=bb0326da5fc23b00cffba7081410f09f4df960f3;hpb=06b8c126a964a60ad353cc4f7b296060ae5c9df4;p=gnulib.git diff --git a/lib/utimens.h b/lib/utimens.h index bb0326da5..8c47cf93f 100644 --- a/lib/utimens.h +++ b/lib/utimens.h @@ -1,6 +1,5 @@ #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]); @@ -8,12 +7,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