1AFCLOSEFILE(3)                                                  AFCLOSEFILE(3)
2
3
4

NAME

6       afCloseFile - close an open audio file
7

SYNOPSIS

9       #include <audiofile.h>
10
11       int afCloseFile(AFfilehandle file);
12

PARAMETERS

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

DESCRIPTION

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

RETURN VALUE

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

ERRORS

25       afCloseFile can generate these possible errors:
26
27       ·    AF_BAD_FILEHANDLE
28
29       ·    AF_BAD_LSEEK
30
31       ·    AF_BAD_WRITE
32

SEE ALSO

34       afOpenFile(3)
35

AUTHOR

37       Michael Pruett <michael@68k.org>
38
39
40
41Audio File Library 0.3.6          03/06/2013                    AFCLOSEFILE(3)
Impressum