---
name: "snd_card_file_remove"
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_remove"
---

# snd\_card\_file\_remove(9)

remove the file from the file list

## NAME

snd\_card\_file\_remove - remove the file from the file list

## SYNOPSIS

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

## ARGUMENTS

*card*

soundcard structure

*file*

file pointer

## DESCRIPTION

This function removes the file formerly added to the card via **snd\_card\_file\_add** function. If all files are removed and **snd\_card\_free\_when\_closed** was called beforehand, it processes the pending release of resources.

## RETURN

Zero or a negative error code.

## COPYRIGHT
