Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9207 turbocat 1
#include 
2
#include 
3
 
4
void shell_gets(char *str, int n)
5
{
6
    __shell_init();
7
    *__shell_shm = SHELL_GETS;
8
    __SHELL_WAIT();
9
    strncpy(str, __shell_shm+1, n);
10
}