Q3String_Read
You can use theQ3String_Readfunction to read a string from a file object.
TQ3Status Q3String_Read ( char *data, unsigned long *length, TQ3FileObject file);
data- On entry, a pointer to a buffer whose length is of size
kQ3StringMaximumLength, orNULL. On exit, a pointer to the string read from the specified file object. If this parameter is set toNULLon entry, no string is read, but its length is returned in thelengthparameter.length- On exit, the number of characters actually copied into the specified buffer. If
datais set toNULLon entry, this parameter returns the length of the string.file- A file object.
DESCRIPTION
TheQ3String_Readfunction returns, in thedataparameter, a pointer to the next string in the file object specified by thefileparameter. The string data is 7-bit ASCII, with standard escape sequences for any special characters in the string. TheQ3String_Readfunction also returns, in thelengthparameter, the length of the string.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help