18 lines
274 B
C
18 lines
274 B
C
#include "kprintf.h"
|
|
#include "string.h"
|
|
#include "terminal.h"
|
|
#include "ctype.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
int kprintf(int level, const char *restrict format, ...)
|
|
{
|
|
va_list va;
|
|
int i;
|
|
|
|
va_start(va, format);
|
|
i = kvprintf(level, format, va);
|
|
va_end(va);
|
|
|
|
return (i);
|
|
} |