#include <stdio.h> int sscanf( const char *buffer, const char *format, ... );
The function sscanf() is just like scanf(), except that the input is read from buffer.