diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-08 06:40:08 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-10 08:51:22 -0600 |
commit | aba351689b1b5ce068b76d112c1f4929ac26ab9c (patch) | |
tree | 003a1b6eb5a00d74a8a6a60d3196a312918703f2 /lib/utimens.h | |
parent | 080cbfcab5a4ddf2405c018aa7c7f95ac336a465 (diff) | |
download | gnulib-aba351689b1b5ce068b76d112c1f4929ac26ab9c.tar.gz |
utimens: introduce fdutimens
at-func.c wants the file name argument first. This also paves the
way to add fdutimensat(dfd,name,fd,times,flag).
* lib/utimens.h (fdutimens): New prototype.
* lib/utimens.c (gl_futimens): Move guts...
(fdutimens): ...to new interface.
* tests/test-utimens.c (do_fdutimens): Use it.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/utimens.h')
-rw-r--r-- | lib/utimens.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/utimens.h b/lib/utimens.h index 8b3ccef5eb..a02c6a465d 100644 --- a/lib/utimens.h +++ b/lib/utimens.h @@ -1,4 +1,5 @@ #include <time.h> +int fdutimens (char const *, int, struct timespec const [2]); int gl_futimens (int, char const *, struct timespec const [2]); int utimens (char const *, struct timespec const [2]); int lutimens (char const *, struct timespec const [2]); |