_screen is only valid between show/hide.
[AROS.git] / compiler / stdc / fscanf.c
blob378f7b94d18905584c093664dc59362b3b7a1c3b
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function fscanf().
6 */
8 #include <stdarg.h>
10 /*****************************************************************************
12 NAME */
13 #include <stdio.h>
15 int fscanf (
17 /* SYNOPSIS */
18 FILE * restrict fh,
19 const char * restrict format,
20 ...)
22 /* FUNCTION
23 Scan a string with the specified arguments and write the results
24 in the specified parameters.
26 INPUTS
27 fh - Read from this stream
28 format - How to convert the input into the arguments
29 ... - Write the result in these arguments
31 RESULT
32 The number of converted arguments.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
41 scanf()
43 INTERNALS
45 ******************************************************************************/
47 int retval;
48 va_list args;
50 va_start (args, format);
52 retval = vfscanf (fh, format, args);
54 va_end (args);
56 return retval;
57 } /* fscanf */