forked from KolibriOS/kolibrios
Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
9
programs/develop/ktcc/trunk/lib/libshell/shell_putc.c
Normal file
9
programs/develop/ktcc/trunk/lib/libshell/shell_putc.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <shell_api.h>
|
||||
|
||||
void shell_putc(char c)
|
||||
{
|
||||
__shell_init();
|
||||
*__shell_shm = SHELL_PUTC;
|
||||
*(__shell_shm+1) = c;
|
||||
__SHELL_WAIT();
|
||||
}
|
Reference in New Issue
Block a user