Miles Sound System SDK 7.2a

AIL_file_size

The function AIL_file_size returns the size of the specified data file.

S32 AIL_file_size(
  char const * filename
);

In Parameters

filename
specifies the name of the data file to query.

Returns

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

Discussion

Under DOS and MacOS 9, this function must not be invoked from an interrupt-based callback function.

Example files that use this function: DEMO.C


Group: Memory and File Services
Related Functions: AIL_file_error, AIL_file_fss_read, AIL_file_fss_size, AIL_file_read, AIL_set_file_async_callbacks, AIL_set_file_callbacks
Related Basic Types: S32, char const *

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