Rev 491 | Rev 1065 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 491 | Rev 713 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <libc.h> |
29 | #include <libc.h> |
30 | #include <unistd.h> |
30 | #include <unistd.h> |
31 | 31 | ||
- | 32 | void _exit(int status) { |
|
- | 33 | __SYSCALL0(SYS_CTL); |
|
- | 34 | } |
|
- | 35 | ||
32 | void __main(void) { |
36 | void __main(void) { |
33 | } |
37 | } |
34 | 38 | ||
35 | void __exit(void) { |
39 | void __exit(void) { |
- | 40 | _exit(0); |
|
36 | } |
41 | } |