public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
lang
/
cem
/
libcc.ansi
/
stdio
/
scanf.c
1
/*
2
* scanf.c - read formatted input from the standard input stream
3
*/
4
/* $Id: scanf.c,v 1.2 1994/06/24 11:51:22 ceriel Exp $ */
5
6
#include <stdio.h>
7
#include <stdarg.h>
8
#include "loc_incl.h"
9
10
int
11
scanf(const char *format, ...)
12
{
13
va_list ap;
14
int retval;
15
16
va_start(ap, format);
17
18
retval = _doscan(stdin, format, ap);
19
20
va_end(ap);
21
22
return retval;
23
}
24
25