| 1 |
'\" t |
| 2 |
.\" Title: afNewFileSetup |
| 3 |
.\" Author: [see the "AUTHOR" section] |
| 4 |
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> |
| 5 |
.\" Date: 03/06/2013 |
| 6 |
.\" Manual: \ \& |
| 7 |
.\" Source: Audio File Library 0.3.6 |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "AFNEWFILESETUP" "3" "03/06/2013" "Audio File Library 0\&.3\&.6" "\ \&" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
afNewFileSetup \- create and initialize a new AFfilesetup structure |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.sp |
| 34 |
.nf |
| 35 |
#include <audiofile\&.h> |
| 36 |
.fi |
| 37 |
.sp |
| 38 |
.nf |
| 39 |
AFfilesetup afNewFileSetup(void); |
| 40 |
.fi |
| 41 |
.SH "RETURN VALUE" |
| 42 |
.sp |
| 43 |
afNewFileSetup returns, upon success, a valid AFfilesetup structure\&. |
| 44 |
.sp |
| 45 |
Upon failure, afNewFileSetup returns a null AFfilesetup\&. This case should only occur when no memory is available\&. |
| 46 |
.SH "DESCRIPTION" |
| 47 |
.sp |
| 48 |
The opaque AFfilesetup structure returned by afNewFileSetup can be used to specify parameters for a file to be opened for writing by \fBafOpenFile\fR(3)\&. |
| 49 |
.SH "SEE ALSO" |
| 50 |
.sp |
| 51 |
\fBafOpenFile\fR(3) |
| 52 |
.SH "AUTHOR" |
| 53 |
.sp |
| 54 |
Michael Pruett <michael@68k\&.org> |