Miles Sound System SDK 7.2a

AIL_file_fss_attrib_write

The function AIL_file_fss_attrib_write creates a new MacOS data file spec and fills it with the specified data.

S32 AIL_file_fss_attrib_write(
  FSSpec const * filename,
  void const * buf,
  U32 len,
  U32 in_type,
  U32 in_creator
);

In Parameters

filename
specifies the data file spec that you wish to write to.
buf
specifies the address to write from.
len
specifies the number of bytes to write.
in_type
specifies the MacOS file type of the file to write.
in_creator
specifies the MacOS file creator of the file to write.

Returns

Whether the function succeeded or not.

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_WAV_file_fss_write, AIL_WAV_file_write, AIL_file_fss_read, AIL_file_fss_write
Related Basic Types: FSSpec, S32, U32, void const *

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