#include <stdio.h>int sscanf(const char *buf, const char *format, ...);

The sscanf( ) function is identical to scanf( ) except that data is read from the array pointed to by buf rather than stdin. See scanf( ).

In C99, buf and format are qualified by restrict.

The return value is equal to the number of variables that were actually assigned values. This number does not include fields that were skipped through the use of the * format command modifier. A value of zero means that no fields were assigned, and EOF indicates that an error occurred prior to the first assignment.

Related functions are scanf( ) and fscanf( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: