source: trunk/minix/lib/stdio/fscanf.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 384 bytes
RevLine 
[9]1/*
2 * fscanf.c - read formatted input from stream
3 */
4/* $Header: /cvsup/minix/src/lib/stdio/fscanf.c,v 1.1.1.1 2005/04/21 14:56:35 beng Exp $ */
5
6#include <stdio.h>
7#include <stdarg.h>
8#include "loc_incl.h"
9
10int
11fscanf(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}
Note: See TracBrowser for help on using the repository browser.