1 |
#ifndef PLIBC_SYSCALLS_H |
2 |
#define PLIBC_SYSCALLS_H |
3 |
|
4 |
#include <stddef.h> |
5 |
#include <stdint.h> |
6 |
#include <sys/mman.h> |
7 |
#include <sys/types.h> |
8 |
|
9 |
extern int write (int fd, const void *buf, size_t count); |
10 |
extern void *sbrk (intptr_t increment); |
11 |
extern void *brk (void); |
12 |
extern void __attribute__ ((noreturn)) exit (int status); |
13 |
extern void *mmap (void *addr, size_t len, int prot, int flags, int fd, |
14 |
off_t offset); |
15 |
extern void *sysinfo (void *buffer); |
16 |
extern void kill (int pid, int sig); |
17 |
|
18 |
#endif /* PLIBC_SYSCALLS_H */ |