17 Accessing File Objects

17 Q3File_Close

You can use the Q3File_Close function to close a file object.

TQ3Status Q3File_Close (TQ3FileObject file);
file A file object.

DESCRIPTION


The Q3File_Close function closes the file object specified by the file parameter. Q3File_Close flushes any caches associated with the file and releases that memory for other uses. You should close a file object only when all operations on the file have completed successfully and you no longer need to keep the file object open.

ERRORS


kQ3ErrorFileInUse
kQ3ErrorInvalidObjectParameter
kQ3ErrorOSError

DESCRIPTION
ERRORS

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker