Reading and writing files is greatly simplified by using the FILE object. This chapter describes the methods most frequently used for reading and writing.
A FILE object may refer to a directory rather than a file and methods are provided for navigating around the directory structure.