#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( ).