SIMPLE SOLUTIONS

AFCLOSEFILE(3) - Linux man page online | Library functions

Close an open audio file.

Chapter
03/06/2013
AFCLOSEFILE(3) 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 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

afOpenFile(3)

AUTHOR

Michael Pruett <@68k.org>
Audio File Library 0.3.6 03/06/2013 AFCLOSEFILE(3)
This manual Reference Other manuals
afCloseFile(3) referred by afOpenFile(3)
refer to afOpenFile(3)
Download raw manual
Main page Audio File Library 0&.3&.6 (+31) № 3 (+68044)
Go top