Listtree.mcc: forward List_TestPos and Listtree_TestPos
[AROS.git] / compiler / stdc / sscanf.c
blobd9454b87b891329f0cebe8784c0e7e5d42ed6ad0
1 /*
2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 C99 function sscanf().
6 */
8 #include <stdarg.h>
11 /*****************************************************************************
13 NAME */
14 #include <stdio.h>
16 int sscanf (
18 /* SYNOPSIS */
19 const char *str,
20 const char *format,
21 ...)
23 /* FUNCTION
24 Scan the specified string and convert it into the arguments as
25 specified by format.
27 INPUTS
28 str - The routine examines this string.
29 format - Format string. See scanf() for a description
30 ... - Arguments for the result
32 RESULT
33 The number of converted parameters.
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 fscanf(), vscanf(), vfscanf(), vsscanf()
44 INTERNALS
46 ******************************************************************************/
48 int retval;
49 va_list args;
51 va_start(args, format);
52 retval = vsscanf(str, format, args);
53 va_end(args);
55 return retval;