closefiles
BAP Online Manuals : Library
Reference : Library by Name
: closefiles
Previous: closefile
Next: compile
BAP Online Manuals : Library Reference : Library by Name : closefiles
Previous: closefile
Next: compile
Previous: closefile
Next: compile
6.2.24. closefiles
closes all open files
SYNOPSIS
INCLUDE 'iolib.h' closefiles
SYNTAX
closefile
ARGUMENTS
(none)
DESCRIPTION
Closes all files that have been either opened by openread
or openwrite as well as all windows
created. The contents of all output files are flushed first.
Usually you should close all files explicitly, but this predicate is useful in case you encountered a
fatal problem and wish to leave you program clean. Note that if you do not close open output
files, you may lose data as all transactions are buffered.
ERRORS
No runtime errors. Always succeeds.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
closefile , openread , openwrite , see , tell , makewindow
BAP Online Manuals : Library Reference : Library by Name : closefiles
Previous: closefile
Next: compile