kolibrios/contrib/kolibri-libc/source/shell_api/shell_putc.c
turbocat 781f3f0fab kolibri-libc:
- Added shell apis(shell_api.h)
- Added functions  for working with a named shared memory area(ksys.h).
- Fixed itoa

git-svn-id: svn://kolibrios.org@8629 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 14:56:26 +00:00

9 lines
142 B
C

#include "shell.h"
void shell_putc(char c)
{
__shell_init();
*__shell_shm = SHELL_PUTC;
*(__shell_shm+1) = c;
SHELL_WAIT();
}