kolibrios/programs/system/shell/cmd/cmd_sleep.c

21 lines
323 B
C
Raw Normal View History

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 <<3C><><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>x ᥪ㭤<E1A5AA>>\n\r");
#endif
return TRUE;
}
delay = _atoi(param);
kol_sleep((unsigned)delay);
return TRUE;
}