Rev 6568 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6568 | Rev 6698 | ||
---|---|---|---|
Line 299... | Line 299... | ||
299 | } |
299 | } |
300 | :dword notify(dword notify_param) |
300 | :dword notify(dword notify_param) |
301 | { |
301 | { |
302 | return RunProgram("/sys/@notify", notify_param); |
302 | return RunProgram("/sys/@notify", notify_param); |
303 | } |
303 | } |
- | 304 | :void die(dword _last_msg) |
|
- | 305 | { |
|
- | 306 | notify(_last_msg); |
|
- | 307 | ExitProcess(); |
|
- | 308 | } |
|
304 | :dword ConvertSizeToKb(unsigned int bytes) |
309 | :dword ConvertSizeToKb(unsigned int bytes) |
305 | { |
310 | { |
306 | unsigned char size[25]=0; |
311 | unsigned char size[25]=0; |
307 | unsigned int kb; |
312 | unsigned int kb; |
308 | dword kb_line; |
313 | dword kb_line; |