Rev 1673 | Rev 2829 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1673 | Rev 2502 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #define NULL ((void*)0) |
1 | #define NULL ((void*)0) |
Line -... | Line 2... | ||
- | 2 | ||
- | 3 | #define SHM_OPEN 0 |
|
- | 4 | #define SHM_OPEN_ALWAYS 0x04 |
|
- | 5 | #define SHM_CREATE 0x08 |
|
- | 6 | #define SHM_READ 0x00 |
|
- | 7 | #define SHM_WRITE 0x01 |
|
- | 8 | ||
- | 9 | #define E_NOTFOUND 5 |
|
- | 10 | #define E_ACCESS 10 |
|
- | 11 | #define E_NOMEM 30 |
|
- | 12 | #define E_PARAM 33 |
|
- | 13 | ||
2 | 14 | ||
3 | typedef struct |
15 | typedef struct |
4 | { |
16 | { |
5 | unsigned p00 __attribute__((packed)); |
17 | unsigned p00 __attribute__((packed)); |
6 | unsigned p04 __attribute__((packed)); |
18 | unsigned p04 __attribute__((packed)); |
Line 88... | Line 100... | ||
88 | unsigned kol_process_info(unsigned slot, char buf1k[]); |
100 | unsigned kol_process_info(unsigned slot, char buf1k[]); |
89 | int kol_process_kill_pid(unsigned process); |
101 | int kol_process_kill_pid(unsigned process); |
90 | void kol_get_kernel_ver(char buff16b[]); |
102 | void kol_get_kernel_ver(char buff16b[]); |
91 | int kol_kill_process(unsigned process); |
103 | int kol_kill_process(unsigned process); |
92 | 104 | int kol_buffer_open(char name[], int mode, int size, char **buf); |
|
93 | 105 | void kol_buffer_close(char name[]); |
|
- | 106 | ||
- | 107 |