Rev 4930 | Rev 6109 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4930 | Rev 6099 | ||
---|---|---|---|
Line 5... | Line 5... | ||
5 | extern "C" { |
5 | extern "C" { |
6 | #endif |
6 | #endif |
Line 7... | Line 7... | ||
7 | 7 | ||
8 | #include <_ansi.h> |
8 | #include <_ansi.h> |
- | 9 | #include |
|
9 | #include |
10 | #include |
- | 11 | #include |
|
Line 10... | Line 12... | ||
10 | #include |
12 | #include |
11 | 13 | ||
Line 12... | Line 14... | ||
12 | /* dj's stat defines _STAT_H_ */ |
14 | /* dj's stat defines _STAT_H_ */ |
Line 140... | Line 142... | ||
140 | /* Special tv_nsec values for futimens(2) and utimensat(2). */ |
142 | /* Special tv_nsec values for futimens(2) and utimensat(2). */ |
141 | #define UTIME_NOW -2L |
143 | #define UTIME_NOW -2L |
142 | #define UTIME_OMIT -1L |
144 | #define UTIME_OMIT -1L |
143 | #endif |
145 | #endif |
Line -... | Line 146... | ||
- | 146 | ||
- | 147 | int _EXFUN(chmod,( const char *__path, mode_t __mode )); |
|
144 | 148 | int _EXFUN(fchmod,(int __fd, mode_t __mode)); |
|
145 | int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); |
149 | int _EXFUN(fstat,( int __fd, struct stat *__sbuf )); |
146 | int _EXFUN(mkdir,( const char *_path, mode_t __mode )); |
150 | int _EXFUN(mkdir,( const char *_path, mode_t __mode )); |
147 | int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); |
151 | int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); |
148 | int _EXFUN(stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); |
152 | int _EXFUN(stat,( const char *__restrict __path, struct stat *__restrict __sbuf )); |
Line 151... | Line 155... | ||
151 | #if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
155 | #if defined (__SPU__) || defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
152 | int _EXFUN(lstat,( const char *__restrict __path, struct stat *__restrict __buf )); |
156 | int _EXFUN(lstat,( const char *__restrict __path, struct stat *__restrict __buf )); |
153 | int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); |
157 | int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); |
154 | #endif |
158 | #endif |
Line 155... | Line 159... | ||
155 | 159 | ||
156 | #if defined (__CYGWIN__) && !defined(__INSIDE_CYGWIN__) |
160 | #if (__POSIX_VISIBLE >= 200809 || defined (__CYGWIN__)) && !defined(__INSIDE_CYGWIN__) |
- | 161 | int _EXFUN(fchmodat, (int, const char *, mode_t, int)); |
|
- | 162 | #endif |
|
157 | int _EXFUN(fchmodat, (int, const char *, mode_t, int)); |
163 | #if (__BSD_VISIBLE || __POSIX_VISIBLE >= 200809 || defined (__CYGWIN__)) && !defined(__INSIDE_CYGWIN__) |
158 | int _EXFUN(fstatat, (int, const char *__restrict , struct stat *__restrict, int)); |
164 | int _EXFUN(fstatat, (int, const char *__restrict , struct stat *__restrict, int)); |
159 | int _EXFUN(mkdirat, (int, const char *, mode_t)); |
165 | int _EXFUN(mkdirat, (int, const char *, mode_t)); |
- | 166 | int _EXFUN(mkfifoat, (int, const char *, mode_t)); |
|
- | 167 | #endif |
|
160 | int _EXFUN(mkfifoat, (int, const char *, mode_t)); |
168 | #if (__BSD_VISIBLE || __XSI_VISIBLE >= 700 || defined (__CYGWIN__)) && !defined(__INSIDE_CYGWIN__) |
- | 169 | int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); |
|
- | 170 | #endif |
|
161 | int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); |
171 | #if (__BSD_VISIBLE || __POSIX_VISIBLE >= 200809 || defined (__CYGWIN__)) && !defined(__INSIDE_CYGWIN__) |
162 | int _EXFUN(utimensat, (int, const char *, const struct timespec *, int)); |
172 | int _EXFUN(utimensat, (int, const char *, const struct timespec *, int)); |
163 | int _EXFUN(futimens, (int, const struct timespec *)); |
173 | int _EXFUN(futimens, (int, const struct timespec *)); |
Line 164... | Line 174... | ||
164 | #endif |
174 | #endif |