int sscanf

int sscanf(const char *__buf, const char *__fmt,...)

The function sscanf performs formatted input, reading the input data from the buffer pointed to by buf.

See vfscanf() for details.