mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-03 01:07:27 +00:00
42 lines
711 B
Text
42 lines
711 B
Text
afCloseFile(3)
|
|
==============
|
|
|
|
NAME
|
|
----
|
|
afCloseFile - close an open audio file
|
|
|
|
SYNOPSIS
|
|
--------
|
|
#include <audiofile.h>
|
|
|
|
int afCloseFile(AFfilehandle file);
|
|
|
|
PARAMETERS
|
|
----------
|
|
`file` is a valid file handle created by linkaf:afOpenFile[3].
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
`afCloseFile` closes the audio file 'file', updating the file if it was
|
|
opened for writing.
|
|
|
|
RETURN VALUE
|
|
------------
|
|
`afCloseFile` returns 0 if the file was closed properly and -1 if an
|
|
error occurred while closing the file.
|
|
|
|
ERRORS
|
|
------
|
|
`afCloseFile` can generate these possible errors:
|
|
|
|
* `AF_BAD_FILEHANDLE`
|
|
* `AF_BAD_LSEEK`
|
|
* `AF_BAD_WRITE`
|
|
|
|
SEE ALSO
|
|
--------
|
|
linkaf:afOpenFile[3]
|
|
|
|
AUTHOR
|
|
------
|
|
Michael Pruett <michael@68k.org>
|