Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 16 - Storage Objects / Storage Objects Reference
Storage Objects Routines / Creating and Accessing UNIX Storage Objects


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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help