13#pragma clang diagnostic ignored "-Wempty-translation-unit"
18#if defined(__ARM_EABI__)
34#pragma GCC diagnostic push
36#elif defined(__GNUC__)
37#pragma GCC diagnostic ignored "-Wmissing-declarations"
38#pragma GCC diagnostic ignored "-Wunused-parameter"
41 int __attribute__ ((weak))
47 int __attribute__ ((weak))
48 _execve_r (
void* ptr, const
char* path,
char* const argv[],
54 int __attribute__ ((weak))
55 _fcntl_r (
void* ptr,
int fildes,
int cmd,
int arg)
60 pid_t __attribute__ ((weak))
66#pragma GCC diagnostic push
68#elif defined(__GNUC__)
69#pragma GCC diagnostic ignored "-Wredundant-tags"
71 int __attribute__ ((weak))
76#pragma GCC diagnostic pop
78 pid_t __attribute__ ((weak))
84 int __attribute__ ((weak))
90 int __attribute__ ((weak))
96 int __attribute__ ((weak))
102 int __attribute__ ((weak))
103 _link_r (
void* ptr, const
char* existing, const
char* _new)
108 off_t __attribute__ ((weak))
109 _lseek_r (
void* ptr,
int fildes, off_t offset,
int whence)
114 int __attribute__ ((weak))
115 _mkdir_r (
void* ptr, const
char* path, mode_t mode)
120 int __attribute__ ((weak))
121 _open_r (
void* ptr, const
char* path,
int oflag,
int mode)
126 ssize_t __attribute__ ((weak))
127 _read_r (
void* ptr,
int fildes,
void* buf,
size_t nbyte)
132 int __attribute__ ((weak))
133 _rename_r (
void* ptr, const
char* oldfn, const
char* newfn)
138#pragma GCC diagnostic push
139#if defined(__clang__)
140#elif defined(__GNUC__)
141#pragma GCC diagnostic ignored "-Wredundant-tags"
143 int __attribute__ ((weak))
148#pragma GCC diagnostic pop
150 clock_t __attribute__ ((weak))
156 int __attribute__ ((weak))
162 pid_t __attribute__ ((weak))
168 ssize_t __attribute__ ((weak))
169 _write_r (
void* ptr,
int fildes, const
void* buf,
size_t nbyte)
176#pragma GCC diagnostic pop
int _isatty_r(void *ptr, int fildes)
clock_t _times_r(void *ptr, tms *buf)
off_t _lseek_r(void *ptr, int fildes, off_t offset, int whence)
int _unlink_r(void *ptr, const char *name)
pid_t _wait_r(void *ptr, int *stat_loc)
int _open_r(void *ptr, const char *path, int oflag, int mode)
int _stat_r(void *ptr, const char *path, struct stat *buf)
ssize_t _read_r(void *ptr, int fildes, void *buf, size_t nbyte)
int _execve_r(void *ptr, const char *path, char *const argv[], char *const envp[])
ssize_t _write_r(void *ptr, int fildes, const void *buf, size_t nbyte)
pid_t _getpid_r(void *ptr)
int _fstat_r(void *ptr, int fildes, struct stat *buf)
int _close_r(void *ptr, int fildes)
int _kill_r(void *ptr, pid_t pid, int sig)
int _link_r(void *ptr, const char *existing, const char *_new)
int _rename_r(void *ptr, const char *oldfn, const char *newfn)
int _gettimeofday_r(void *ptr, timeval *ptimeval, void *ptimezone)
int _mkdir_r(void *ptr, const char *path, mode_t mode)
int _fcntl_r(void *ptr, int fildes, int cmd, int arg)
int stat(const char *path, struct stat *buf)
#define __posix_gettimeofday