Added libshell for TCC

git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat
2021-09-26 19:56:07 +00:00
parent 8918a376d9
commit d38b3890d2
17 changed files with 226 additions and 3 deletions

View File

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