fseek

fscanf

#include <stdio.h>int fscanf(FILE *stream, const char *format, ...);

The fscanf( ) function works exactly like the scanf( ) function, except that it reads the information from the stream specified by stream instead of stdin. See scanf( ).

In C99, stream and format are qualified by restrict.

The fscanf( ) function returns the number of arguments actually assigned values. This number does not include skipped fields. A return value of EOF means that a failure occurred before the first assignment was made.

Related functions are scanf( ) and fprintf( ).




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net