2003-11-18 Corinna Vinschen <corinna@vinschen.de>
* libc/include/sys/fcntl.h: Declare _open64. * libc/include/sys/stat.h: Declare _fstat64. * libc/include/sys/unistd.h: Declare _lseek64.
This commit is contained in:
parent
8f4dfcaa1f
commit
a472290f3e
|
@ -1,3 +1,9 @@
|
||||||
|
2003-11-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* libc/include/sys/fcntl.h: Declare _open64.
|
||||||
|
* libc/include/sys/stat.h: Declare _fstat64.
|
||||||
|
* libc/include/sys/unistd.h: Declare _lseek64.
|
||||||
|
|
||||||
2003-11-17 Corinna Vinschen <corinna@vinschen.de>
|
2003-11-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* libc/include/stdlib.h (getprogname): Declare for Cygwin.
|
* libc/include/stdlib.h (getprogname): Declare for Cygwin.
|
||||||
|
|
|
@ -171,6 +171,9 @@ extern int fcntl _PARAMS ((int, int, ...));
|
||||||
of newlib. */
|
of newlib. */
|
||||||
extern int _open _PARAMS ((const char *, int, ...));
|
extern int _open _PARAMS ((const char *, int, ...));
|
||||||
extern int _fcntl _PARAMS ((int, int, ...));
|
extern int _fcntl _PARAMS ((int, int, ...));
|
||||||
|
#ifdef __LARGE64_FILES
|
||||||
|
extern int _open64 _PARAMS ((const char *, int, ...));
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,6 +140,9 @@ int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev ));
|
||||||
#ifndef __INSIDE_CYGWIN__
|
#ifndef __INSIDE_CYGWIN__
|
||||||
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
|
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
|
||||||
int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
|
int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
|
||||||
|
#ifdef __LARGE64_FILES
|
||||||
|
int _EXFUN(_fstat64,( int __fd, struct stat64 *__sbuf ));
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !_STAT_H_ */
|
#endif /* !_STAT_H_ */
|
||||||
|
|
|
@ -172,6 +172,9 @@ pid_t _EXFUN(_fork, (void ));
|
||||||
pid_t _EXFUN(_getpid, (void ));
|
pid_t _EXFUN(_getpid, (void ));
|
||||||
int _EXFUN(_link, (const char *__path1, const char *__path2 ));
|
int _EXFUN(_link, (const char *__path1, const char *__path2 ));
|
||||||
_off_t _EXFUN(_lseek, (int __fildes, _off_t __offset, int __whence ));
|
_off_t _EXFUN(_lseek, (int __fildes, _off_t __offset, int __whence ));
|
||||||
|
#ifdef __LARGE64_FILES
|
||||||
|
_off64_t _EXFUN(_lseek64, (int __filedes, _off64_t __offset, int __whence ));
|
||||||
|
#endif
|
||||||
_READ_WRITE_RETURN_TYPE _EXFUN(_read, (int __fd, void *__buf, size_t __nbyte ));
|
_READ_WRITE_RETURN_TYPE _EXFUN(_read, (int __fd, void *__buf, size_t __nbyte ));
|
||||||
void * _EXFUN(_sbrk, (ptrdiff_t __incr));
|
void * _EXFUN(_sbrk, (ptrdiff_t __incr));
|
||||||
int _EXFUN(_unlink, (const char *__path ));
|
int _EXFUN(_unlink, (const char *__path ));
|
||||||
|
|
Loading…
Reference in New Issue