syscalls.c File Reference

Functions

void * _sbrk (ptrdiff_t size)
 
int _open (const char *name, int mode)
 
ssize_t _read (int fd, void *ptr, size_t len)
 
ssize_t _write (int fd, const void *ptr, size_t len)
 
off_t _lseek (int fd, _off_t ptr, int dir)
 
int _close (int fd)
 
int _stat (const char *filepath, struct stat *st)
 
int _fstat (int fd, struct stat *st)
 
int _isatty (int fd)
 
int _unlink (char *name)
 
int _kill (int pid, int signal)
 
int _getpid ()
 
void __malloc_lock (struct _reent *r)
 
void __malloc_unlock (struct _reent *r)
 

Variables

unsigned int __heap_size
 
unsigned int __mbed_sbrk_start
 

Function Documentation

void __malloc_lock ( struct _reent *  r)
void __malloc_unlock ( struct _reent *  r)
int _close ( int  fd)
int _fstat ( int  fd,
struct stat *  st 
)
int _getpid ( )
int _isatty ( int  fd)
int _kill ( int  pid,
int  signal 
)
off_t _lseek ( int  fd,
_off_t  ptr,
int  dir 
)
int _open ( const char *  name,
int  mode 
)
ssize_t _read ( int  fd,
void *  ptr,
size_t  len 
)
void* _sbrk ( ptrdiff_t  size)
int _stat ( const char *  filepath,
struct stat *  st 
)
int _unlink ( char *  name)
ssize_t _write ( int  fd,
const void *  ptr,
size_t  len 
)

Variable Documentation

unsigned int __heap_size
unsigned int __mbed_sbrk_start