summaryrefslogtreecommitdiff
path: root/lib/utimens.h
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-09-16 17:12:35 -0600
committerEric Blake <eblake@redhat.com>2010-09-16 17:28:55 -0600
commit9ea0943bfd68afa3412a139fa1a29d9b6c046916 (patch)
tree917bf997b155f7c6ea7ed50f3891812c2f84b866 /lib/utimens.h
parent61d8728839e77d615f102f12a06bbd3928d55cf8 (diff)
downloadgnulib-9ea0943bfd68afa3412a139fa1a29d9b6c046916.tar.gz
fdutimensat: add an atflag parameter
* lib/fdutimensat.c (fdutimensat): Add new parameter. * lib/utimens.h (fdutimensat): Update prototype. * tests/test-fdutimensat.c: Adjust test to match. * NEWS: Document the change. Suggested by Paul Eggert. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/utimens.h')
-rw-r--r--lib/utimens.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utimens.h b/lib/utimens.h
index bb0326da5f..f651beebad 100644
--- a/lib/utimens.h
+++ b/lib/utimens.h
@@ -8,7 +8,8 @@ int lutimens (char const *, struct timespec const [2]);
# include <fcntl.h>
# include <sys/stat.h>
-int fdutimensat (int dir, char const *name, int fd, struct timespec const [2]);
+int fdutimensat (int dir, char const *name, int fd, struct timespec const [2],
+ int atflag);
/* Using this function makes application code slightly more readable. */
static inline int