kolibrios-gitea/programs/develop/ktcc/trunk/lib/libshell/shell_getc.c

9 lines
145 B
C
Raw Normal View History

#include "shell_api.h"
char shell_getc()
{
__shell_init();
*__shell_shm = SHELL_GETC;
__SHELL_WAIT();
return *(__shell_shm+1);
}