Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. #include "shell.h"
  2. #include <stdlib.h>
  3. #include <ksys.h>
  4.  
  5. int shell_ping()
  6. {
  7.     __shell_init();
  8.     *__shell_shm = SHELL_PING;
  9.     _ksys_delay(10);
  10.     if(*__shell_shm==SHELL_OK){
  11.         return 1;
  12.     }
  13.     return 0;
  14. }