66 #include <sys/types.h>
72 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
74 #ifndef USE_CHIBIOS_RTOS // already defined by chibios syscalls
77 int
_read_r(struct _reent *r,
int file,
char * ptr,
int len)
100 __attribute__((used))
101 int
_write_r(struct _reent *r,
int file,
char * ptr,
int len)
111 __attribute__((used))
121 __attribute__((used))
131 __attribute__((used))
132 int
_fstat_r(struct _reent *r,
int file, struct stat * st)
142 __attribute__((used))
150 #endif // USE_CHIBIOS_RTOS
154 __attribute__((used))
161 __attribute__((used))
169 __attribute__((noreturn))
185 #pragma GCC diagnostic pop
int _write_r(struct _reent *r, int file, char *ptr, int len)
int _lseek_r(struct _reent *r, int file, int ptr, int dir)
int _read_r(struct _reent *r, int file, char *ptr, int len)
Fake system calls.
int _isatty_r(struct _reent *r, int fd)
int _fstat_r(struct _reent *r, int file, struct stat *st)
caddr_t _sbrk_r(struct _reent *r, int incr)
int _close_r(struct _reent *r, int file)
void __cxa_pure_virtual(void)