Define UTIME_NOW and UTIME_OMIT.

This commit is contained in:
Ulrich Drepper 2007-05-10 21:39:43 +00:00
parent 91d46f8a9b
commit bdef6f9a42

View File

@ -149,3 +149,9 @@ struct stat64
#define __S_IREAD 0400 /* Read by owner. */
#define __S_IWRITE 0200 /* Write by owner. */
#define __S_IEXEC 0100 /* Execute by owner. */
#if defined __USE_ATFILE || defined __USE_GNU
/* XXX This will change to the macro for the next 2008 POSIX revision. */
# define UTIME_NOW ((1l << 30) - 1l)
# define UTIME_OMIT ((1l << 30) - 2l)
#endif