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