Miles Sound System SDK 7.2a

AIL_file_fss_size

The function AIL_file_fss_size returns the size of the specified MacOS data file spec.

S32 AIL_file_fss_size(
  FSSpec const * filename
);

In Parameters

filename
specifies the name of the data file spec to query.

Returns

The size of the file, or -1 if there was an error.

Discussion

This function is only used on the Mac with the Classic or Carbon CFM libraries - the Mach-O version of Miles just uses normal Unix style slash separated string filenames. This function must not be invoked from an interrupt-based callback function.


Group: Memory and File Services
Related Sections: Filenames on MacOS
Related Functions: AIL_file_fss_read, AIL_file_size
Related Basic Types: FSSpec, S32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.