![]() |
![]()
| ![]() |
![]()
NAMEafCloseFile - close an open audio file SYNOPSIS#include <audiofile.h> int afCloseFile(AFfilehandle file); PARAMETERSfile is a valid file handle created by afOpenFile(3). DESCRIPTIONafCloseFile closes the audio file file, updating the file if it was opened for writing. RETURN VALUEafCloseFile returns 0 if the file was closed properly and -1 if an error occurred while closing the file. ERRORSafCloseFile can generate these possible errors: • AF_BAD_FILEHANDLE
• AF_BAD_LSEEK
• AF_BAD_WRITE
SEE ALSOafOpenFile(3) AUTHORMichael Pruett <michael@68k.org>
|