Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9206 → Rev 9207

/programs/develop/ktcc/trunk/lib/libshell/shell_gets.c
0,0 → 1,10
#include <shell_api.h>
#include <string.h>
 
void shell_gets(char *str, int n)
{
__shell_init();
*__shell_shm = SHELL_GETS;
__SHELL_WAIT();
strncpy(str, __shell_shm+1, n);
}