kolibrios-fun/programs/system/shell/cmd/cmd_sleep.c
Nasarus 3256dedea8 Shell 0.4.4 (All)
git-svn-id: svn://kolibrios.org@1665 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-17 19:50:55 +00:00

13 lines
156 B
C

int cmd_sleep(char param[])
{
int delay;
if (!strlen(param))
return FALSE;
delay = _atoi(param);
kol_sleep((unsigned)delay);
return TRUE;
}