Functions

syscalls.c File Reference

#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "uart/uart.h"

Go to the source code of this file.

Functions

int _read_r (struct _reent *r, int file, char *ptr, int len)
int _lseek_r (struct _reent *r, int file, int ptr, int dir)
int _write_r (struct _reent *r, int file, char *ptr, int len)
int _close_r (struct _reent *r, int file)
register char *stack_ptr asm ("sp")
caddr_t _sbrk_r (struct _reent *r, int incr)
int _fstat_r (struct _reent *r, int file, struct stat *st)
int _isatty_r (struct _reent *r, int fd)

Function Documentation

int _close_r ( struct _reent *  r,
int  file 
)

Definition at line 97 of file syscalls.c.

int _fstat_r ( struct _reent *  r,
int  file,
struct stat *  st 
)

Definition at line 168 of file syscalls.c.

int _isatty_r ( struct _reent *  r,
int  fd 
)

Definition at line 180 of file syscalls.c.

int _lseek_r ( struct _reent *  r,
int  file,
int  ptr,
int  dir 
)

Definition at line 58 of file syscalls.c.

int _read_r ( struct _reent *  r,
int  file,
char *  ptr,
int  len 
)

Definition at line 45 of file syscalls.c.

caddr_t _sbrk_r ( struct _reent *  r,
int  incr 
)

Definition at line 107 of file syscalls.c.

Here is the call graph for this function:

int _write_r ( struct _reent *  r,
int  file,
char *  ptr,
int  len 
)

Definition at line 70 of file syscalls.c.

Here is the call graph for this function:

register char* stack_ptr asm ( "sp"   )