libroot/posix: Add lutimes for better posix compatibility
* Didn't exist on BeOS, but exists most other places. * Update times of a file, not following symbolic links.
This commit is contained in:
@@ -43,7 +43,8 @@ extern int getitimer(int which, struct itimerval *value);
|
||||
extern int setitimer(int which, const struct itimerval *value, struct itimerval *oldValue);
|
||||
extern int gettimeofday(struct timeval *tv, void *tz);
|
||||
|
||||
extern int utimes(const char *name, const struct timeval times[2]);
|
||||
extern int utimes(const char *path, const struct timeval times[2]);
|
||||
extern int lutimes(const char *path, const struct timeval times[2]);
|
||||
/* legacy */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user