GNU Info

Info Node: (librep.info)Destroying File Objects

(librep.info)Destroying File Objects


Next: Functions on File Objects Prev: Creating File Objects Up: File Objects
Enter node , (file) or (file)node

Destroying File Objects
.......................

   The easiest way to close a file is simply to eliminate all
references to it, subsequently the garbage collector will close it for
you. It is better to close files explicitly though since only a limited
number of files may be opened concurrently.

 - Function: close-file file-object
     This function closes the file pointed to by the file object
     FILE-OBJECT.

     Subsequently, any stream accesses FILE-OBJECT are illegal and will
     signal an error.


automatically generated by info2www version 1.2.2.9