am 09baf4e8: Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure

Merge commit '09baf4e881c78e67c7849aa81432ceb34e72e913'

* commit '09baf4e881c78e67c7849aa81432ceb34e72e913':
  Add Glibc-compatible macro aliases for the nanosecond time accessors in stat structure
This commit is contained in:
David 'Digit' Turner 2009-06-22 09:56:46 -07:00 committed by The Android Open Source Project
commit fc90c51f72

View File

@ -71,6 +71,13 @@ struct stat {
unsigned long long st_ino;
};
/* For compatibility with GLibc, we provide macro aliases
* for the non-Posix nano-seconds accessors.
*/
#define st_atimensec st_atime_nsec
#define st_mtimensec st_mtime_nsec
#define st_ctimensec st_ctime_nsec
extern int chmod(const char *, mode_t);
extern int fchmod(int, mode_t);
extern int mkdir(const char *, mode_t);