Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #include "shell.h"
  2.  
  3. void shell_gets(char *str)
  4. {
  5.     __shell_init();
  6.     *__shell_shm = SHELL_GETS;
  7.     SHELL_WAIT();
  8.     strcpy(str, __shell_shm+1);
  9. }