---
name: "snd_card_disconnect"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_card_disconnect"
---

# snd\_card\_disconnect(9)

disconnect all APIs from the file-operations (user space)

## NAME

snd\_card\_disconnect - disconnect all APIs from the file-operations (user space)

## SYNOPSIS

**int snd\_card\_disconnect(struct snd\_card \*** *card***);**

## ARGUMENTS

*card*

soundcard structure

## DESCRIPTION

Disconnects all APIs from the file-operations (user space).

## RETURN

Zero, otherwise a negative error code.

## NOTE

The current implementation replaces all active file-\>f\_op with special dummy file operations (they do nothing except release).

## COPYRIGHT
