PER Firmware
Loading...
Searching...
No Matches
syscalls.h
1#ifndef SYSCALLS_H
2#define SYSCALLS_H
3
4#include <sys/stat.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10int *__errno(void);
11int _write(int file, char* ptr, int len);
12int _read(int file, char* ptr, int len);
13int _close(int file);
14int _fstat(int file, struct stat* st);
15int _isatty(int file);
16int _lseek(int file, int ptr, int dir);
17void* _sbrk(int incr);
18int _getpid(void);
19int _getpid_r(struct _reent* r);
20int _kill(int pid, int sig);
21int _kill_r(struct _reent* r, int pid, int sig);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif // SYSCALLS_H