summaryrefslogtreecommitdiff
path: root/minix/lib/libsys/kprintf.c
blob: 6453349e7765d0d6850993ee036b5f757aaa7b68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*	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;
}