---
name: "snd_card_proc_new"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_card_proc_new"
---

# snd\_card\_proc\_new(9)

create an info entry for the given card

## NAME

snd\_card\_proc\_new - create an info entry for the given card

## SYNOPSIS

**int snd\_card\_proc\_new(struct snd\_card \*** *card***, const char \*** *name***, struct snd\_info\_entry \*\*** *entryp***);**

## ARGUMENTS

*card*

the card instance

*name*

the file name

*entryp*

the pointer to store the new info entry

## DESCRIPTION

Creates a new info entry and assigns it to the given card. Unlike **snd\_info\_create\_card\_entry**, this function registers the info entry as an ALSA device component, so that it can be unregistered/released without explicit call. Also, you don't have to register this entry via **snd\_info\_register**, since this will be registered by **snd\_card\_register** automatically.

The parent is assumed as card-\>proc\_root.

For releasing this entry, use **snd\_device\_free** instead of **snd\_info\_free\_entry**.

## RETURN

Zero if successful, or a negative error code on failure.

## COPYRIGHT
