kolibrios/contrib/kolibri-libc/source/shell_api/shell_puts.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

10 lines
177 B
C

#include "shell.h"
#include "string.h"
void shell_puts(const char *str)
{
__shell_init();
*__shell_shm = SHELL_PUTS;
strcpy(__shell_shm+1, str);
SHELL_WAIT();
}