@@ -43,10 +43,24 @@ int _kill(pid_t pid, int sig) {
43
43
}
44
44
45
45
// FOR NEWLIB
46
- int _fstat (int fd , struct stat * st ) { return _tock_fstat (fd , st ); }
47
- int _isatty (int fd ) { return _tock_isatty (fd ); }
48
- int _read (int fd , void * buf , uint32_t count ) { return _tock_read (fd , buf , count ); }
49
- int _write (int fd , const void * buf , uint32_t count ) { return _tock_write (fd , buf , count ); }
50
- int _lseek (int fd , uint32_t offset , int whence ) { return _tock_lseek (fd , offset , whence ); }
51
- int _close (int fd ) { return _tock_close (fd ); }
52
- caddr_t _sbrk (int incr ) { return _tock_sbrk (incr ); }
46
+ int _fstat (int fd , struct stat * st ) {
47
+ return _tock_fstat (fd , st );
48
+ }
49
+ int _isatty (int fd ) {
50
+ return _tock_isatty (fd );
51
+ }
52
+ int _read (int fd , void * buf , uint32_t count ) {
53
+ return _tock_read (fd , buf , count );
54
+ }
55
+ int _write (int fd , const void * buf , uint32_t count ) {
56
+ return _tock_write (fd , buf , count );
57
+ }
58
+ int _lseek (int fd , uint32_t offset , int whence ) {
59
+ return _tock_lseek (fd , offset , whence );
60
+ }
61
+ int _close (int fd ) {
62
+ return _tock_close (fd );
63
+ }
64
+ caddr_t _sbrk (int incr ) {
65
+ return _tock_sbrk (incr );
66
+ }
0 commit comments