29#pragma clang diagnostic ignored "-Wempty-translation-unit"
34#if defined(__ARM_EABI__)
50#pragma GCC diagnostic push
51#pragma GCC diagnostic ignored "-Wmissing-declarations"
52#pragma GCC diagnostic ignored "-Wunused-parameter"
54 int __attribute__((weak))
60 int __attribute__((weak))
61 _execve_r (
void* ptr, const
char* path,
char* const argv[],
67 int __attribute__((weak))
68 _fcntl_r (
void* ptr,
int fildes,
int cmd,
int arg)
73 pid_t __attribute__((weak))
79 int __attribute__((weak))
85 pid_t __attribute__((weak))
91 int __attribute__((weak))
97 int __attribute__((weak))
103 int __attribute__((weak))
109 int __attribute__((weak))
110 _link_r (
void* ptr, const
char* existing, const
char* _new)
115 off_t __attribute__((weak))
116 _lseek_r (
void* ptr,
int fildes, off_t offset,
int whence)
121 int __attribute__((weak))
122 _mkdir_r (
void* ptr, const
char* path, mode_t mode)
127 int __attribute__((weak))
128 _open_r (
void* ptr, const
char* path,
int oflag,
int mode)
133 ssize_t __attribute__((weak))
134 _read_r (
void* ptr,
int fildes,
void* buf,
size_t nbyte)
139 int __attribute__((weak))
140 _rename_r (
void* ptr, const
char* oldfn, const
char* newfn)
145 int __attribute__((weak))
151 clock_t __attribute__((weak))
157 int __attribute__((weak))
163 pid_t __attribute__((weak))
169 ssize_t __attribute__((weak))
170 _write_r (
void* ptr,
int fildes, const
void* buf,
size_t nbyte)
177#pragma GCC diagnostic pop
int _isatty_r(void *ptr, int fildes)
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 _gettimeofday_r(void *ptr, struct timeval *ptimeval, void *ptimezone)
int _stat_r(void *ptr, const char *path, struct stat *buf)
clock_t _times_r(void *ptr, struct tms *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 _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