Rev 6251 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6251 | Rev 6563 | ||
---|---|---|---|
Line 297... | Line 297... | ||
297 | sprintf(#ConvertSize_size_prefix,"%d %s",bytes,#size_nm); |
297 | sprintf(#ConvertSize_size_prefix,"%d %s",bytes,#size_nm); |
298 | return #ConvertSize_size_prefix; |
298 | return #ConvertSize_size_prefix; |
299 | } |
299 | } |
300 | :dword notify(dword notify_param) |
300 | :dword notify(dword notify_param) |
301 | { |
301 | { |
302 | return RunProgram("@notify", notify_param); |
302 | return RunProgram("/sys/@notify", notify_param); |
303 | } |
303 | } |
304 | :dword ConvertSizeToKb(unsigned int bytes) |
304 | :dword ConvertSizeToKb(unsigned int bytes) |
305 | { |
305 | { |
306 | unsigned char size[25]=0; |
306 | unsigned char size[25]=0; |
307 | unsigned int kb; |
307 | unsigned int kb; |