utimens: introduce fdutimens
authorEric Blake <ebb9@byu.net>
Thu, 8 Oct 2009 12:40:08 +0000 (06:40 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 10 Oct 2009 14:51:22 +0000 (08:51 -0600)
commitaba351689b1b5ce068b76d112c1f4929ac26ab9c
tree003a1b6eb5a00d74a8a6a60d3196a312918703f2
parent080cbfcab5a4ddf2405c018aa7c7f95ac336a465
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>
ChangeLog
lib/utimens.c
lib/utimens.h
tests/test-utimens.c