B: fsfile( unit );
C: void fsfile(FILE *unit);
FSFILE spaces the input file opened on "unit" forward one file. The next read will read the first line of the new file. If FSFILE is executed on a unit opened to a terminal or a similarly non-resettable device, the call is ignored.
FSFILE cannot be used on output files. It is mainly intended for use on files that contain several end-of-file markers (e.g. batch "P*" files) to select the correct file to be read.
Copyright © 1996, Thinkage Ltd.