/uspace/trunk/libc/include/libc.h |
---|
29,10 → 29,18 |
#ifndef __LIBC__LIBC_H__ |
#define __LIBC__LIBC_H__ |
#include <types.h> |
typedef enum { |
SYS_CTL = 0, |
SYS_IO = 1 |
} syscall_t; |
extern void __main(void); |
extern void __exit(void); |
extern void __syscall(const unsigned int id, const unsigned int p1, const unsigned int p2, const unsigned int p3); |
extern unsigned int __syscall(const syscall_t id, const sysarg_t p1, const sysarg_t p2, const sysarg_t p3); |
#endif |