compiler/clib/strftime.c: Add note to autodoc that no localization is implemented.
[AROS.git] / compiler / clib / scanf.c
blob1fa07d29aa3b44193b8da4d66b22f79df6347739
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function scanf().
6 */
8 #include <stdarg.h>
10 /*****************************************************************************
12 NAME */
13 #include <stdio.h>
15 int scanf (
17 /* SYNOPSIS */
18 const char * format,
19 ...)
21 /* FUNCTION
23 INPUTS
25 RESULT
26 The number of converted parameters
28 NOTES
30 EXAMPLE
32 BUGS
34 SEE ALSO
35 fscanf(), vscanf(), vfscanf(), sscanf(), vsscanf()
37 INTERNALS
39 ******************************************************************************/
41 int retval;
42 va_list args;
44 va_start (args, format);
46 retval = vfscanf (stdin, format, args);
48 va_end (args);
50 fflush (stdout);
52 return retval;
53 } /* scanf */