Koduino
syscalls.h
1 
27 /*----------------------------------------------------------------------------
28  * Headers
29  *----------------------------------------------------------------------------*/
30 #include <stdio.h>
31 #include <stdarg.h>
32 #include <sys/types.h>
33 #include <sys/stat.h>
34 
35 /*----------------------------------------------------------------------------
36  * Exported functions
37  *----------------------------------------------------------------------------*/
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 // cldoc:begin-category(Helper)
43 
44 extern caddr_t _sbrk( int incr ) ;
45 
46 extern int link( char *cOld, char *cNew ) ;
47 
48 extern int _close( int file ) ;
49 
50 extern int _fstat( int file, struct stat *st ) ;
51 
52 extern int _isatty( int file ) ;
53 
54 extern int _lseek( int file, int ptr, int dir ) ;
55 
56 extern int _read(int file, char *ptr, int len) ;
57 
58 extern int _write( int file, char *ptr, int len ) ;
59 
60 // cldoc:end-category()
61 
62 #ifdef __cplusplus
63 }
64 #endif
65