Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 169 -
------------------------------------------------------------------------------
6.15 Read formatted data from memory
. <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
sscanf
[Syntax]
#include <stdio.h>
int sscanf( const char *buffer, const char *format
[, argument]... ) ;
[Arguments]
buffer Stored data.
format Format control string.
argument Optional arguments.
[Return]
Returns a number of fields converted successfully. This does not
includes fields which has been read and not converted. Returns EOF
if the end of string is detected. Return value zero means that no
fields have been converted.
[Description]
Reads formatted data to arguments (if exist) from a buffer.
"argument" are pointer to variables whose types are same as type
specification in "format". Formats of "format" are same as "scanf".
See "scanf" for details of "format" and "argument".