Rev 4874 | Rev 6099 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4874 | Rev 4921 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | #endif |
69 | #endif |
70 | pid_t _EXFUN(fork, (void )); |
70 | pid_t _EXFUN(fork, (void )); |
71 | long _EXFUN(fpathconf, (int __fd, int __name )); |
71 | long _EXFUN(fpathconf, (int __fd, int __name )); |
72 | int _EXFUN(fsync, (int __fd)); |
72 | int _EXFUN(fsync, (int __fd)); |
73 | int _EXFUN(fdatasync, (int __fd)); |
73 | int _EXFUN(fdatasync, (int __fd)); |
- | 74 | #if defined(__CYGWIN__) |
|
- | 75 | char * _EXFUN(get_current_dir_name, (void)); |
|
- | 76 | #endif |
|
74 | char * _EXFUN(getcwd, (char *__buf, size_t __size )); |
77 | char * _EXFUN(getcwd, (char *__buf, size_t __size )); |
75 | #if defined(__CYGWIN__) |
78 | #if defined(__CYGWIN__) |
76 | int _EXFUN(getdomainname ,(char *__name, size_t __len)); |
79 | int _EXFUN(getdomainname ,(char *__name, size_t __len)); |
77 | #endif |
80 | #endif |
78 | #if !defined(__INSIDE_CYGWIN__) |
81 | #if !defined(__INSIDE_CYGWIN__) |
Line 170... | Line 173... | ||
170 | #endif |
173 | #endif |
171 | #if defined(__CYGWIN__) |
174 | #if defined(__CYGWIN__) |
172 | void _EXFUN(setusershell, (void)); |
175 | void _EXFUN(setusershell, (void)); |
173 | #endif |
176 | #endif |
174 | unsigned _EXFUN(sleep, (unsigned int __seconds )); |
177 | unsigned _EXFUN(sleep, (unsigned int __seconds )); |
175 | void _EXFUN(swab, (const void *, void *, ssize_t)); |
178 | void _EXFUN(swab, (const void *__restrict, void *__restrict, ssize_t)); |
176 | long _EXFUN(sysconf, (int __name )); |
179 | long _EXFUN(sysconf, (int __name )); |
177 | pid_t _EXFUN(tcgetpgrp, (int __fildes )); |
180 | pid_t _EXFUN(tcgetpgrp, (int __fildes )); |
178 | int _EXFUN(tcsetpgrp, (int __fildes, pid_t __pgrp_id )); |
181 | int _EXFUN(tcsetpgrp, (int __fildes, pid_t __pgrp_id )); |
179 | char * _EXFUN(ttyname, (int __fildes )); |
182 | char * _EXFUN(ttyname, (int __fildes )); |
180 | #if defined(__CYGWIN__) || defined(__rtems__) |
183 | #if defined(__CYGWIN__) || defined(__rtems__) |
Line 217... | Line 220... | ||
217 | int _EXFUN(_unlink, (const char *__path )); |
220 | int _EXFUN(_unlink, (const char *__path )); |
218 | _READ_WRITE_RETURN_TYPE _EXFUN(_write, (int __fd, const void *__buf, size_t __nbyte )); |
221 | _READ_WRITE_RETURN_TYPE _EXFUN(_write, (int __fd, const void *__buf, size_t __nbyte )); |
219 | int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); |
222 | int _EXFUN(_execve, (const char *__path, char * const __argv[], char * const __envp[] )); |
220 | #endif |
223 | #endif |
Line 221... | Line 224... | ||
221 | 224 | ||
222 | #if defined(__CYGWIN__) || defined(__rtems__) || defined(__sh__) || defined(__SPU__) |
225 | #if defined(__CYGWIN__) || defined(__rtems__) || defined(__aarch64__) || defined (__arm__) || defined(__sh__) || defined(__SPU__) |
223 | #if !defined(__INSIDE_CYGWIN__) |
226 | #if !defined(__INSIDE_CYGWIN__) |
224 | int _EXFUN(ftruncate, (int __fd, off_t __length)); |
227 | int _EXFUN(ftruncate, (int __fd, off_t __length)); |
225 | int _EXFUN(truncate, (const char *, off_t __length)); |
228 | int _EXFUN(truncate, (const char *, off_t __length)); |
226 | #endif |
229 | #endif |
Line 227... | Line 230... | ||
227 | #endif |
230 | #endif |
228 | 231 | ||
229 | #if defined(__CYGWIN__) || defined(__rtems__) |
232 | #if defined(__CYGWIN__) || defined(__rtems__) |
230 | int _EXFUN(getdtablesize, (void)); |
233 | int _EXFUN(getdtablesize, (void)); |
231 | int _EXFUN(setdtablesize, (int)); |
234 | int _EXFUN(setdtablesize, (int)); |
232 | useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); |
235 | useconds_t _EXFUN(ualarm, (useconds_t __useconds, useconds_t __interval)); |
233 | #if !(defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) |
236 | #if !(defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined (__USE_W32_SOCKETS)) |
234 | /* winsock[2].h defines as __stdcall, and with int as 2nd arg */ |
237 | /* winsock[2].h defines as __stdcall, and with int as 2nd arg */ |
235 | int _EXFUN(gethostname, (char *__name, size_t __len)); |
238 | int _EXFUN(gethostname, (char *__name, size_t __len)); |
236 | #endif |
239 | #endif |
Line 237... | Line 240... | ||
237 | char * _EXFUN(mktemp, (char *)); |
240 | char * _EXFUN(mktemp, (char *)); |
238 | #endif |
241 | #endif |
239 | 242 | ||
Line 240... | Line 243... | ||
240 | #if defined(__CYGWIN__) || defined(__SPU__) || defined(__rtems__) |
243 | #if defined(__CYGWIN__) || defined(__SPU__) || defined(__rtems__) |
- | 244 | void _EXFUN(sync, (void)); |
|
241 | void _EXFUN(sync, (void)); |
245 | #endif |
242 | #endif |
246 | |
- | 247 | ssize_t _EXFUN(readlink, (const char *__restrict __path, |
|
243 | 248 | char *__restrict __buf, size_t __buflen)); |
|
244 | ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen)); |
249 | #if defined(__CYGWIN__) |
245 | #if defined(__CYGWIN__) |
250 | ssize_t _EXFUN(readlinkat, (int __dirfd1, const char *__restrict __path, |
246 | ssize_t _EXFUN(readlinkat, (int __dirfd1, const char *__path, char *__buf, size_t __buflen)); |
251 | char *__restrict __buf, size_t __buflen)); |
247 | #endif |
252 | #endif |
Line 495... | Line 500... | ||
495 | #define _CS_POSIX_V7_THREADS_LDFLAGS 19 |
500 | #define _CS_POSIX_V7_THREADS_LDFLAGS 19 |
496 | #define _CS_V7_ENV 20 |
501 | #define _CS_V7_ENV 20 |
497 | #define _CS_V6_ENV _CS_V7_ENV |
502 | #define _CS_V6_ENV _CS_V7_ENV |
498 | #endif |
503 | #endif |
Line 499... | Line -... | ||
499 | - | ||
500 | #ifndef __CYGWIN__ |
- | |
501 | # define MAXPATHLEN 1024 |
- | |
502 | #endif |
- | |
503 | 504 | ||
504 | #ifdef __cplusplus |
505 | #ifdef __cplusplus |
505 | } |
506 | } |
506 | #endif |
507 | #endif |