.\" 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_REMOVE" "" "06 October 2005" "" ""
.SH NAME
snd_card_file_remove \- remove the file from the file list
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_card_file_remove (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 removes the file formerly added to the card via
\fBsnd_card_file_add\fR function.
If all files are removed and the release of the card is
scheduled, it will wake up the the thread to call \fBsnd_card_free\fR
(see \fBsnd_card_free_in_thread\fR function).
.PP
Returns zero or a negative error code.