File: afCloseFile.3.txt

package info (click to toggle)
audiofile 0.3.6-2%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 4,764 kB
  • ctags: 7,541
  • sloc: cpp: 36,525; sh: 11,090; ansic: 6,013; makefile: 442
file content (42 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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>