16 Creating and Accessing UNIX Storage Objects

16 Q3UnixStorage_New

You can use the Q3UnixStorage_New function to create a new UNIX storage object.

TQ3StorageObject Q3UnixStorage_New (FILE *stdFile);
stdFile A pointer to a file. This file must already be open.

DESCRIPTION


The Q3UnixStorage_New function returns, as its function result, a new UNIX storage object associated with the file specified by the stdFile parameter. The specified file is assumed to be open, and it must remain open as long as you use the returned storage object. In addition, you are responsible for closing the file once the associated storage object has been closed or disposed of. If Q3UnixStorage_New cannot create a new storage object, it returns the value NULL.

ERRORS


kQ3ErrorOutOfMemory
kQ3ErrorNULLParameter

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