on July 19, 2007 - 1:23am
.\" Title: snd_card_disconnect
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1
.\" Date: July 2007
.\" Manual: Sound Devices
.\" Source: Kernel Hackers Manual 2.6.22
.\"
.TH "SND_CARD_DISCONNECT" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Sound Devices"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
snd_card_disconnect \- disconnect all APIs from the file\-operations (user space)
.SH "SYNOPSIS"
.HP 24
.BI "int snd_card_disconnect(struct\ snd_card\ *\ " "card" ");"
.SH "ARGUMENTS"
.TP 3n
\fIcard\fR
soundcard structure
.SH "DESCRIPTION"
.PP
Disconnects all APIs from the file\-operations (user space).
.PP
Returns zero, otherwise a negative error code.
.SH "NOTE"
.PP
The current implementation replaces all active file\->f_op with special dummy file operations (they do nothing except release).
.SH "COPYRIGHT"