diff options
author | Vladimir Zapolskiy <vzapolskiy@gmail.com> | 2010-06-02 10:27:16 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-07-27 13:21:19 +0200 |
commit | 8642946bd00e0c6dff9f08d84a63d32ce6648538 (patch) | |
tree | 6473ce013e37b40f28e9cdc89e5c12e4d8a0fa74 /include/sys | |
parent | c6d6237819037168a6923ac080e348e54615422c (diff) |
lutimes: add lutimes support
This patch adds lutimes library call support.
Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sys/time.h b/include/sys/time.h index 33f5873ee..952e95a30 100644 --- a/include/sys/time.h +++ b/include/sys/time.h @@ -144,14 +144,16 @@ extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __THROW __nonnull ((1)); libc_hidden_proto(utimes) -#if 0 /*def __USE_BSD*/ +#ifdef __USE_BSD /* Same as `utimes', but does not follow symbolic links. */ extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __THROW __nonnull ((1)); +#if 0 /* Same as `utimes', but takes an open file descriptor instead of a name. */ extern int futimes (int __fd, __const struct timeval __tvp[2]) __THROW; #endif +#endif #ifdef __USE_GNU /* Change the access time of FILE relative to FD to TVP[0] and the |