kolibrios-gitea/programs/system/shell/cmd/cmd_sleep.c
Kirill Lipatov (Leency) 5528e3a3d5 small orthographic fix
git-svn-id: svn://kolibrios.org@4016 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-10-13 11:00:08 +00:00

21 lines
323 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 <¨­â¥à¢ « ¢ á®âëå ¤®«ïx ᥪ㭤ë>\n\r");
#endif
return TRUE;
}
delay = _atoi(param);
kol_sleep((unsigned)delay);
return TRUE;
}