---
name: "snd_card_file_add"
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_file_add"
---

# snd\_card\_file\_add(9)

add the file to the file list of the card

## NAME

snd\_card\_file\_add - add the file to the file list of the card

## SYNOPSIS

**int snd\_card\_file\_add(struct snd\_card \*** *card***, struct file \*** *file***);**

## ARGUMENTS

*card*

soundcard structure

*file*

file pointer

## DESCRIPTION

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.

## RETURN

zero or a negative error code.

## COPYRIGHT
