auto import from //branches/cupcake/...@130745
This commit is contained in:
@@ -71,6 +71,10 @@ struct stat {
|
||||
unsigned long long st_ino;
|
||||
};
|
||||
|
||||
extern int chmod(const char *, mode_t);
|
||||
extern int fchmod(int, mode_t);
|
||||
extern int mkdir(const char *, mode_t);
|
||||
|
||||
extern int stat(const char *, struct stat *);
|
||||
extern int fstat(int, struct stat *);
|
||||
extern int lstat(const char *, struct stat *);
|
||||
|
@@ -56,7 +56,7 @@ extern int utimes(const char *, const struct timeval *);
|
||||
#define timeradd(a, b, res) \
|
||||
do { \
|
||||
(res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
|
||||
(res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
|
||||
(res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
|
||||
if ((res)->tv_usec >= 1000000) { \
|
||||
(res)->tv_usec -= 1000000; \
|
||||
(res)->tv_sec += 1; \
|
||||
|
@@ -65,6 +65,7 @@ typedef __kernel_nlink_t nlink_t;
|
||||
#define _OFF_T_DEFINED_
|
||||
typedef __kernel_off_t off_t;
|
||||
typedef __kernel_loff_t loff_t;
|
||||
typedef loff_t off64_t; /* GLibc-specific */
|
||||
|
||||
typedef __kernel_pid_t pid_t;
|
||||
|
||||
|
Reference in New Issue
Block a user