Rev 8793 | Rev 9093 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8793 | Rev 8818 | ||
---|---|---|---|
Line 198... | Line 198... | ||
198 | KSYS_SHM_CREATE = 0x08, |
198 | KSYS_SHM_CREATE = 0x08, |
199 | KSYS_SHM_READ = 0x00, |
199 | KSYS_SHM_READ = 0x00, |
200 | KSYS_SHM_WRITE = 0x01, |
200 | KSYS_SHM_WRITE = 0x01, |
201 | }; |
201 | }; |
Line -... | Line 202... | ||
- | 202 | ||
- | 203 | enum KSYS_EVENT_MASK{ |
|
- | 204 | KSYS_EVM_REDRAW = 1, |
|
- | 205 | KSYS_EVM_KEY = 2, |
|
- | 206 | KSYS_EVM_BUTTON = 4, |
|
- | 207 | KSYS_EVM_EXIT = 8, |
|
- | 208 | KSYS_EVM_BACKGROUND = 16, |
|
- | 209 | KSYS_EVM_MOUSE = 32, |
|
- | 210 | KSYS_EVM_IPC = 64, |
|
- | 211 | KSYS_EVM_STACK = 128, |
|
- | 212 | KSYS_EVM_DEBUG = 256, |
|
- | 213 | KSYS_EVM_STACK2 = 512, |
|
- | 214 | KSYS_EVM_MOUSE_FILTER = 0x80000000, |
|
- | 215 | KSYS_EVM_CURSOR_FILTER = 0x40000000, |
|
- | 216 | }; |
|
202 | 217 | ||
203 | static inline |
218 | static inline |
204 | int _ksys_strcmp(const char * s1, const char * s2 ) |
219 | int _ksys_strcmp(const char * s1, const char * s2 ) |
205 | { |
220 | { |
206 | while ((*s1) && (*s1 == *s2)){ ++s1; ++s2; } |
221 | while ((*s1) && (*s1 == *s2)){ ++s1; ++s2; } |