turbocat 504bda29b5 kolibri-libc:
- Added shell_printf
- Added shell functions to export table.
- Fixed  libc.obj build(use mingw)
- Removed generated libc.obj-loader files

git-svn-id: svn://kolibrios.org@8632 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 20:00:50 +00:00

13 lines
248 B
C

#include "shell.h"
#include <stdio.h>
void shell_printf(const char *format,...)
{
va_list ap;
va_start (ap, format);
*__shell_shm=SHELL_PUTS;
vsnprintf(__shell_shm+1, SHELL_SHM_MAX, format, ap);
va_end(ap);
SHELL_WAIT();
}