Important: The information in this document is obsolete and should not be used for new development.
High-Level File Access Routines
This section describes the File Manager's high-level file access routines. When you call one of these routines, you specify a file by a file reference number (which the File Manager returns to your application when the application opens a file). Unless your application has very specialized needs, you should be able to manage all file access (for example, writing data to the file) using the routines described in this section. Typically you use these routines to operate on a file's data fork, but in certain circumstances you might want to use them on a file's resource fork as well.
Subtopics
- Reading, Writing, and Closing Files
- Manipulating the File Mark
- Manipulating the End-of-File
- Allocating File Blocks