/uspace/trunk/libc/include/libc.h |
---|
32,6 → 32,11 |
#include <types.h> |
#define __SYSCALL0(id) __syscall(id, 0, 0, 0) |
#define __SYSCALL1(id, p1) __syscall(id, p1, 0, 0) |
#define __SYSCALL2(id, p1, p2) __syscall(id, p1, p2, 0) |
typedef enum { |
SYS_CTL = 0, |
SYS_IO = 1 |
/uspace/trunk/libc/include/unistd.h |
---|
34,5 → 34,6 |
#define NULL 0 |
extern ssize_t write(int fd, const void * buf, size_t count); |
extern void _exit(int status); |
#endif |