'\" t .\" Title: snd_card_disconnect .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_CARD_DISCONNECT" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_card_disconnect \- disconnect all APIs from the file\-operations (user space) .SH "SYNOPSIS" .HP \w'int\ snd_card_disconnect('u .BI "int snd_card_disconnect(struct\ snd_card\ *\ " "card" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 soundcard structure .RE .SH "DESCRIPTION" .PP Disconnects all APIs from the file\-operations (user space)\&. .SH "RETURN" .PP 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" .br