17 Accessing File Objects

17 Q3File_OpenRead

You can use the Q3File_OpenRead function to open a file object for reading.

TQ3Status Q3File_OpenRead (
TQ3FileObject file, 
TQ3FileMode *mode);
file A file object.
mode On exit, a set of bit flags that specify the file mode of the specified file object. Set this field to NULL if you do not want a file mode to be returned.

DESCRIPTION


The Q3File_OpenRead function opens for reading the file object specified by the file parameter and returns, in the mode parameter, the file mode of the file object. See "File Mode Flags" on page 17-12 for a description of the available file mode flags.

ERRORS


kQ3ErrorOSError
kQ3ErrorOutOfMemory

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