Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Files /
Chapter 1 - Introduction to File Management / File Management Reference


File and Directory Manipulation Routines

The File Manager includes a set of file and directory manipulation routines that accept FSSpec records as parameters. Depending on the requirements of your application and on the environment in which it is running, you may be able to accomplish all your file and directory operations by using these routines.

Before calling any of these routines, however, you should call the Gestalt function to ensure that they are available in the operating environment. (See "Testing for File Management Routines" on page 1-14 for an illustration of calling Gestalt.) If these routines are not available, you can call the corresponding HFS routines.


Subtopics
Opening, Creating, and Deleting Files
Exchanging the Data in Two Files
Creating File System Specifications

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996