minix3/lib/libsys/kprintf.c

22 lines
308 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
/* printf() - system services printf() Author: Kees J. Bot
* 15 Jan 1994
*/
#define nil 0
#include <stdarg.h>
#include <stdio.h>
#include <stddef.h>
#include <limits.h>
int printf(const char *fmt, ...)
{
int n;
va_list ap;
va_start(ap, fmt);
n = vprintf(fmt, ap);
va_end(ap);
return n;
}