WriteMacFile
Writes from buffer to Mac file
Synopsis
long WriteMacFile (char *filename, char *buf, long count)
Description
Writes count bytes from the specified buffer into the file named by filename, creating the MAC file, writing the specified number of bytes, and closing the Macintosh file. Returns the number of bytes written to the Macintosh file.
Arguments
- filename
- Pointer to char string specifying the name of the file to write on the Macintosh.
- buf
- Pointer to the data bytes to write.
- count
- Number of bytes to write.
Associated Files
lib3do.lib, utils3do.h
Return Value
The number of bytes written to the Macintosh file.