Miles Sound System SDK 7.2a

AIL_file_write

The function AIL_file_write creates a new data file and fills it with the specified data.

S32 AIL_file_write(
  char const * filename,
  void const * buf,
  U32 len
);

In Parameters

filename
specifies the data file that you wish to write to.
buf
specifies the address to write from.
len
specifies the number of bytes to write.

Returns

Whether the function succeeded or not.

Discussion

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


Group: Memory and File Services
Related Functions: AIL_WAV_file_write, AIL_file_error, AIL_file_read
Related Basic Types: S32, U32, char const *, void const *

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