repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Drop main() prototype. Syncs with NetBSD-8
[minix.git]
/
minix
/
lib
/
libsys
/
kprintf.c
blob
6453349e7765d0d6850993ee036b5f757aaa7b68
1
/* printf() - system services printf() Author: Kees J. Bot
2
* 15 Jan 1994
3
*/
4
#define nil 0
5
#include <stdarg.h>
6
#include <stdio.h>
7
#include <stddef.h>
8
#include <limits.h>
9
10
int
printf
(
const char
*
fmt
, ...)
11
{
12
int
n
;
13
va_list
ap
;
14
15
va_start
(
ap
,
fmt
);
16
n
=
vprintf
(
fmt
,
ap
);
17
va_end
(
ap
);
18
19
return
n
;
20
}
21