16 Creating and Accessing UNIX Path Name Storage Objects
Q3UnixPathStorage_New
function to create a new UNIX storage object specified using a path name.
TQ3StorageObject Q3UnixPathStorage_New (const char *pathName);
pathName
A path name of a file. The path name is a null-terminated C string.
Q3UnixPathStorage_New
function returns, as its function result, a new storage object associated with the file specified by the pathName
parameter. The specified file is assumed to be closed. QuickDraw3D opens the file (by calling fopen
) and, when the associated storage object is closed or disposed of, QuickDraw3D closes the file (by calling fclose
). If Q3UnixPathStorage_New
cannot create a new storage object, it returns the value NULL
.kQ3ErrorOutOfMemory
kQ3ErrorNULLParameter
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker