2.2.1. sscanf()

int sscanf(string str, string format, …)

Reads in data from a string. Most format options of the ANSI C standard are supported.


In contrast to ANSI C, sscanf() returns either:

  • the number of characters read

  • 0 if the end of file was reached or an error associated with filehandle occurred.

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J