C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
sscanf
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The sscanf function reads data from <buffer> into the locations
     given by each <argument>. Every <argument> must be a pointer to a
     variable with a type that corresponds to a type specifier in
     <format>. The format controls the interpretation of the input
     fields and has the same form and function as the <format>
     argument for the scanf function. (See scanf for a complete
     description of <format>.)
 
     Return Value
 
     The sscanf function returns the number of fields that were
     successfully converted and assigned. The return value does not
     include fields that were read but not assigned.
 
     The return value is EOF for an attempt to read at end-of-string. A
     return value of 0 means that no fields were assigned.
                                    -♦-