Inside Macintosh: Files / Chapter 2 - File Manager / File Manager ReferenceHigh-Level HFS Routines
Creating and Deleting Files and Directories You can create a file by calling the HCreate function and a directory by calling the DirCreate function. To delete either a file or a directory, call HDelete. Subtopics HCreate DirCreate HDelete
HCreate
DirCreate
HDelete