scanf.c

Go to the documentation of this file.
00001 /*
00002  * scanf.c - read formatted input from the standard input stream
00003  */
00004 /* $Header: /opt/proj/minix/cvsroot/src/lib/stdio/scanf.c,v 1.1.1.1 2005/04/21 14:56:36 beng Exp $ */
00005 
00006 #include        <stdio.h>
00007 #include        <stdarg.h>
00008 #include        "loc_incl.h"
00009 
00010 int
00011 scanf(const char *format, ...)
00012 {
00013         va_list ap;
00014         int retval;
00015 
00016         va_start(ap, format);
00017 
00018         retval = _doscan(stdin, format, ap);
00019 
00020         va_end(ap);
00021 
00022         return retval;
00023 }
00024 
00025 

Generated on Fri Apr 14 22:57:27 2006 for minix by  doxygen 1.4.6