2 fscan - scan a file for possible assignment to variables
5 fscan(fs, x_1, x_2, ..., x_n)
8 fs file stream open for reading
14 Starting at the current position on fs and while values remain in the
15 x_i arguments, fields of non-whitespace characters are read and evaluated
16 in succession and if the corresponding x_i is an lvalue, the value of
17 the field is assigned to x_i. Scanning ceases when no x_i remain or
18 when the stream reaches end-of-file.
20 The function returns the number of fields evaluated.
24 > f = fopen("/tmp/junk", "w+");
25 > fputs(f, "\t3+4\t\ta-2i d=a^2 'word'")
33 none - XXX - is this correct?
36 none - XXX - is this correct?
39 scan, strscan, fscanf, scanf, strscanf, printf, fprintf, strprintf