#include <stddef.h>#include <stdio.h>#include <stdlib.h>#include <_ansi.h>#include <sys/types.h>#include <sys/fcntl.h>#include <sys/times.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/wait.h>#include <signal.h>#include <unistd.h>#include <errno.h>#include <reent.h>#include <time.h>#include "FreeRTOS.h"#include "task.h"#include "ff.h"#include "rtc.h"#include "sys_config.h"#include "uart0_min.h"#include "lpc_sys.h"
Include dependency graph for newlib_syscalls.c:

Functions | |
| void | sys_set_outchar_func (char_func_t func) |
| void | sys_set_inchar_func (char_func_t func) |
| int | _kill (int pid __attribute__((unused)), int sig __attribute__((unused))) |
| void | _exit (int status) |
| int | _getpid (int n) |
| int | _init (void) |
| int | _write (int fd, const char *ptr, int len) |
| int | _read (int fd, char *ptr, int len) |
| void | syscalls_init (void) |
| int | _fstat (int fd __attribute__((unused)), struct stat *st __attribute__((unused))) |
| int | _isatty (int n) |
| int | _lseek (int fd, int ptr, int dir) |
| int | _open (const char *path, int flags,...) |
| int | _close (int fd) |
Variables | |
| void * | __dso_handle = 0 |
Function Documentation
| int _close | ( | int | fd | ) |
| void _exit | ( | int | status | ) |
| int _fstat | ( | int fd | __attribute__(unused), |
| struct stat *st | __attribute__(unused) | ||
| ) |
| int _getpid | ( | int | n | ) |
| int _init | ( | void | ) |
| int _isatty | ( | int | n | ) |
| int _kill | ( | int pid | __attribute__(unused), |
| int sig | __attribute__(unused) | ||
| ) |
| int _lseek | ( | int | fd, |
| int | ptr, | ||
| int | dir | ||
| ) |
| int _open | ( | const char * | path, |
| int | flags, | ||
| ... | |||
| ) |
| int _read | ( | int | fd, |
| char * | ptr, | ||
| int | len | ||
| ) |
| int _write | ( | int | fd, |
| const char * | ptr, | ||
| int | len | ||
| ) |
| void sys_set_inchar_func | ( | char_func_t | func | ) |
Sets the function used to input a char by scanf() or stdio input functions
- Parameters
-
func The function pointer to use to get a char
| void sys_set_outchar_func | ( | char_func_t | func | ) |
Defined at syscalls.c Sets the function used to output a char by printf() or stdio output functions
- Parameters
-
func The function pointer to use to output a char
| void syscalls_init | ( | void | ) |
Variable Documentation
| void* __dso_handle = 0 |

1.8.11