User guide
22 File I/O
ThefollowingisapartiallistoftheI/OcommandsintheGAUSSprogramminglan-
guage:
close
Closeafile.
closeall
Closeallopenfiles.
colsf
Numberofcolumnsinafile.
create
CreateGAUSSdataset.
eof
Testforendoffile.
fcheckerr
Checkerrorstatusofafile.
fclearerr
Checkerrorstatusofafileandclearerrorflag.
fflush
Flushafile'soutputbuffer.
fgets
Readalineoftextfromafile.
fgetsa
Readmultiplelinesoftextfromafile.
fgetsat
Readmultiplelinesoftextfromafile,discarding
newlines.
22-1










