forked from KolibriOS/kolibrios
9 lines
151 B
C
9 lines
151 B
C
|
#include "shell.h"
|
||
|
|
||
|
void shell_gets(char *str)
|
||
|
{
|
||
|
__shell_init();
|
||
|
*__shell_shm = SHELL_GETS;
|
||
|
SHELL_WAIT();
|
||
|
strcpy(str, __shell_shm+1);
|
||
|
}
|