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 _write(int file, char* ptr, int len);
11int _read(int file, char* ptr, int len);
12int _close(int file);
13int _fstat(int file, struct stat* st);
14int _isatty(int file);
15int _lseek(int file, int ptr, int dir);
16void* _sbrk(int incr);
17int _getpid(void);
18int _getpid_r(struct _reent* r);
19int _kill(int pid, int sig);
20int _kill_r(struct _reent* r, int pid, int sig);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif // SYSCALLS_H