files
kolibrios/programs/develop/ktcc/lib/libshell/shell_printf.c
Andrew f5ddbaa599
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 22s
Build system / Build (pull_request) Failing after 26s
develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory.
- Update build files and include paths.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-05-24 12:03:37 +01:00

13 lines
254 B
C

#include <shell_api.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();
}