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
isblank() implementation.
[minix.git]
/
lib
/
libc
/
stdio
/
fscanf.c
blob
913a470713350877134f310d1b6e5e9f94f00ce1
1
/*
2
* fscanf.c - read formatted input from stream
3
*/
4
/* $Header$ */
5
6
#include <stdio.h>
7
#include <stdarg.h>
8
#include
"loc_incl.h"
9
10
int
11
fscanf
(
FILE
*
stream
,
const char
*
format
, ...)
12
{
13
va_list
ap
;
14
int
retval
;
15
16
va_start
(
ap
,
format
);
17
18
retval
=
_doscan
(
stream
,
format
,
ap
);
19
20
va_end
(
ap
);
21
22
return
retval
;
23
}