Rev 6607 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6607 | Rev 9954 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | #include <_ansi.h> |
8 | #include <_ansi.h> |
9 | #define __need_size_t |
9 | #define __need_size_t |
10 | #define __need_ptrdiff_t |
10 | #define __need_ptrdiff_t |
11 | #include |
11 | #include |
12 | #include |
12 | #include |
- | 13 | #include |
|
13 | #include |
14 | #include |
14 | #include |
15 | #include |
Line 15... | Line 16... | ||
15 | 16 | ||
Line 16... | Line 17... | ||
16 | extern char **environ; |
17 | //extern char **environ; |
Line 17... | Line 18... | ||
17 | 18 | ||
18 | void _EXFUN(_exit, (int __status ) _ATTRIBUTE ((__noreturn__))); |
19 | void _EXFUN(_exit, (int __status ) _ATTRIBUTE ((__noreturn__))); |
Line 163... | Line 164... | ||
163 | _READ_WRITE_RETURN_TYPE _EXFUN(read, (int __fd, void *__buf, size_t __nbyte )); |
164 | _READ_WRITE_RETURN_TYPE _EXFUN(read, (int __fd, void *__buf, size_t __nbyte )); |
164 | #if __BSD_VISIBLE |
165 | #if __BSD_VISIBLE |
165 | int _EXFUN(rresvport, (int *__alport)); |
166 | int _EXFUN(rresvport, (int *__alport)); |
166 | int _EXFUN(revoke, (char *__path)); |
167 | int _EXFUN(revoke, (char *__path)); |
167 | #endif |
168 | #endif |
168 | int _EXFUN(rmdir, (const char *__path )); |
169 | #define rmdir(__path) _ksys_rmdir(__path) |
169 | #if __BSD_VISIBLE |
170 | #if __BSD_VISIBLE |
170 | int _EXFUN(ruserok, (const char *rhost, int superuser, const char *ruser, const char *luser)); |
171 | int _EXFUN(ruserok, (const char *rhost, int superuser, const char *ruser, const char *luser)); |
171 | #endif |
172 | #endif |
172 | void * _EXFUN(sbrk, (ptrdiff_t __incr)); |
173 | void * _EXFUN(sbrk, (ptrdiff_t __incr)); |
173 | #if !defined(__INSIDE_CYGWIN__) |
174 | #if !defined(__INSIDE_CYGWIN__) |
Line 242... | Line 243... | ||
242 | int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); |
243 | int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); |
243 | #endif |
244 | #endif |
Line 244... | Line 245... | ||
244 | 245 | ||
245 | #if defined(__CYGWIN__) || defined(__rtems__) || defined(__aarch64__) || defined (__arm__) || defined(__sh__) || defined(__SPU__) |
246 | #if defined(__CYGWIN__) || defined(__rtems__) || defined(__aarch64__) || defined (__arm__) || defined(__sh__) || defined(__SPU__) |
246 | #if !defined(__INSIDE_CYGWIN__) |
- | |
247 | int _EXFUN(ftruncate, (int __fd, off_t __length)); |
247 | #if !defined(__INSIDE_CYGWIN__) |
248 | int _EXFUN(truncate, (const char *, off_t __length)); |
248 | int _EXFUN(truncate, (const char *, off_t __length)); |
249 | #endif |
249 | #endif |
Line -... | Line 250... | ||
- | 250 | #endif |
|
- | 251 | ||
250 | #endif |
252 | int _EXFUN(ftruncate, (int __fd, off_t __length)); |
251 | 253 | ||
252 | #if defined(__CYGWIN__) || defined(__rtems__) |
254 | #if defined(__CYGWIN__) || defined(__rtems__) |
253 | int _EXFUN(getdtablesize, (void)); |
255 | int _EXFUN(getdtablesize, (void)); |
254 | int _EXFUN(setdtablesize, (int)); |
256 | int _EXFUN(setdtablesize, (int)); |