Subversion Repositories Kolibri OS

Rev

Rev 1665 | Rev 4015 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. int cmd_sleep(char param[])
  3. {
  4. int delay;
  5.  
  6. if (!strlen(param))
  7.         {
  8.         #if LANG_ENG
  9.                 printf("    sleep <time in the 1/100 of second>\n\r");
  10.         #elif LANG_RUS
  11.                 printf("  sleep <интервал в сотых доля секунды>\n\r");
  12.         #endif
  13.         return TRUE;
  14.         }
  15.  
  16. delay = _atoi(param);
  17. kol_sleep((unsigned)delay);
  18. return TRUE;
  19. }
  20.  
  21.