logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

afCloseFile - close an open audio file

Author

       Michael Pruett <michael@68k.org>

Audio File Library 0.3.6                           03/06/2013                                     AFCLOSEFILE(3)

Description

       afCloseFile closes the audio file file, updating the file if it was opened for writing.

Errors

       afCloseFile can generate these possible errors:

       •    AF_BAD_FILEHANDLE

       •    AF_BAD_LSEEK

       •    AF_BAD_WRITE

Name

       afCloseFile - close an open audio file

Parameters

       file is a valid file handle created by afOpenFile(3).

Return Value

       afCloseFile returns 0 if the file was closed properly and -1 if an error occurred while closing the file.

See Also

afOpenFile(3)

Synopsis

       #include <audiofile.h>

       int afCloseFile(AFfilehandle file);

See Also