mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-14 19:07:09 +03:00
f115e0da5a
git-svn-id: svn://kolibrios.org@4015 a494cfbc-eb01-0410-851d-a64ba20cac60
21 lines
322 B
C
21 lines
322 B
C
|
|
int cmd_sleep(char param[])
|
|
{
|
|
int delay;
|
|
|
|
if (!strlen(param))
|
|
{
|
|
#if LANG_ENG
|
|
printf(" sleep <time in the 1/100 of second>\n\r");
|
|
#elif LANG_RUS
|
|
printf(" sleep <¨â¥à¢ « ¢ á®âëå ¤®«ï ᥪã¤ë>\n\r");
|
|
#endif
|
|
return TRUE;
|
|
}
|
|
|
|
delay = _atoi(param);
|
|
kol_sleep((unsigned)delay);
|
|
return TRUE;
|
|
}
|
|
|