forked from KolibriOS/kolibrios
504bda29b5
- 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
13 lines
248 B
C
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();
|
|
}
|