.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SND_CARD_FILE_ADD" "9" "09 October 2005" "" ""
.SH NAME
snd_card_file_add \- add the file to the file list of the card
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_card_file_add (snd_card_t * \fIcard\fB, struct file * \fIfile\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcard\fB\fR
soundcard structure
.TP
\fB\fIfile\fB\fR
file pointer
.SH "DESCRIPTION"
.PP
This function adds the file to the file linked-list of the card.
This linked-list is used to keep tracking the connection state,
and to avoid the release of busy resources by hotplug.
.PP
Returns zero or a negative error code.