14#pragma clang diagnostic ignored "-Wempty-translation-unit"
19#if defined(__ARM_EABI__)
35#pragma GCC diagnostic push
37#elif defined(__GNUC__)
38#pragma GCC diagnostic ignored "-Wmissing-declarations"
39#pragma GCC diagnostic ignored "-Wunused-parameter"
42 int __attribute__((weak))
48 int __attribute__((weak))
49 _execve_r (
void* ptr, const
char* path,
char* const argv[],
55 int __attribute__((weak))
56 _fcntl_r (
void* ptr,
int fildes,
int cmd,
int arg)
61 pid_t __attribute__((weak))
67#pragma GCC diagnostic push
69#elif defined(__GNUC__)
70#pragma GCC diagnostic ignored "-Wredundant-tags"
72 int __attribute__((weak))
77#pragma GCC diagnostic pop
79 pid_t __attribute__((weak))
85 int __attribute__((weak))
91 int __attribute__((weak))
97 int __attribute__((weak))
103 int __attribute__((weak))
104 _link_r (
void* ptr, const
char* existing, const
char* _new)
109 off_t __attribute__((weak))
110 _lseek_r (
void* ptr,
int fildes, off_t offset,
int whence)
115 int __attribute__((weak))
116 _mkdir_r (
void* ptr, const
char* path, mode_t mode)
121 int __attribute__((weak))
122 _open_r (
void* ptr, const
char* path,
int oflag,
int mode)
127 ssize_t __attribute__((weak))
128 _read_r (
void* ptr,
int fildes,
void* buf,
size_t nbyte)
133 int __attribute__((weak))
134 _rename_r (
void* ptr, const
char* oldfn, const
char* newfn)
139#pragma GCC diagnostic push
140#if defined(__clang__)
141#elif defined(__GNUC__)
142#pragma GCC diagnostic ignored "-Wredundant-tags"
144 int __attribute__((weak))
149#pragma GCC diagnostic pop
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)
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