Rev 4874 | Rev 4930 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 4921 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | time option]. */ |
17 | time option]. */ |
Line 18... | Line 18... | ||
18 | 18 | ||
19 | #ifdef __CYGWIN__ |
19 | #ifdef __CYGWIN__ |
20 | #include |
20 | #include |
21 | #ifdef _COMPILING_NEWLIB |
21 | #ifdef _COMPILING_NEWLIB |
22 | #define stat64 __stat64 |
22 | #define stat64 stat |
23 | #endif |
23 | #endif |
24 | #else |
24 | #else |
25 | struct stat |
25 | struct stat |
26 | { |
26 | { |
Line 145... | Line 145... | ||
145 | int _EXFUN(chmod,( const char *__path, mode_t __mode )); |
145 | int _EXFUN(chmod,( const char *__path, mode_t __mode )); |
146 | int _EXFUN(fchmod,(int __fd, mode_t __mode)); |
146 | int _EXFUN(fchmod,(int __fd, mode_t __mode)); |
147 | int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); |
147 | int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); |
148 | int _EXFUN(mkdir,( const char *_path, mode_t __mode )); |
148 | int _EXFUN(mkdir,( const char *_path, mode_t __mode )); |
149 | int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); |
149 | int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); |
150 | int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); |
150 | int _EXFUN(stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); |
151 | mode_t _EXFUN(umask,( mode_t __mask )); |
151 | mode_t _EXFUN(umask,( mode_t __mask )); |
Line 152... | Line 152... | ||
152 | 152 | ||
153 | #if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
153 | #if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
154 | int _EXFUN(lstat,( const char *__path, struct stat *__buf )); |
154 | int _EXFUN(lstat,( const char *__restrict __path, struct stat *__restrict __buf )); |
155 | int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); |
155 | int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); |
Line 156... | Line 156... | ||
156 | #endif |
156 | #endif |
157 | 157 | ||
158 | #if defined (__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
158 | #if defined (__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
159 | int _EXFUN(fchmodat, (int, const char *, mode_t, int)); |
159 | int _EXFUN(fchmodat, (int, const char *, mode_t, int)); |
160 | int _EXFUN(fstatat, (int, const char *, struct stat *, int)); |
160 | int _EXFUN(fstatat, (int, const char *__restrict , struct stat *__restrict, int)); |
161 | int _EXFUN(mkdirat, (int, const char *, mode_t)); |
161 | int _EXFUN(mkdirat, (int, const char *, mode_t)); |
162 | int _EXFUN(mkfifoat, (int, const char *, mode_t)); |
162 | int _EXFUN(mkfifoat, (int, const char *, mode_t)); |
163 | int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); |
163 | int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); |
Line 167... | Line 167... | ||
167 | 167 | ||
168 | /* Provide prototypes for most of the _ |
168 | /* Provide prototypes for most of the _ |
169 | provided in newlib for some compilers. */ |
169 | provided in newlib for some compilers. */ |
170 | #ifdef _COMPILING_NEWLIB |
170 | #ifdef _COMPILING_NEWLIB |
171 | int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); |
171 | int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); |
- | 172 | int _EXFUN(_stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); |
|
172 | int _EXFUN(_stat,( const char *__path, struct stat *__sbuf )); |
173 | int _EXFUN(_mkdir,( const char *_path, mode_t __mode )); |
173 | #ifdef __LARGE64_FILES |
174 | #ifdef __LARGE64_FILES |
- | 175 | struct stat64; |
|
174 | struct stat64; |
176 | int _EXFUN(_stat64,( const char *__restrict __path, struct stat64 *__restrict __sbuf )); |
175 | int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf )); |
177 | int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf )); |
176 | #endif |
178 | #endif |
Line 177... | Line 179... | ||
177 | #endif |
179 | #endif |