---
name: "sc_enum_apps"
section: "3"
platform: "linux"
package: "libopensc2-dev"
version: "0.11.13-1.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_enum_apps"
---

# sc\_enum\_apps(3)

Enumerate the applications on a card

## NAME

sc\_enum\_apps - Enumerate the applications on a card

## SYNOPSIS

```
#include <opensc.h>
int sc_enum_apps(struct sc_card *card);
```

## DESCRIPTION

This function enumerates the applications on *card*, and stores them in the structure. The list of applications can then later be searched with sc\_find\_app\_by\_aid() or sc\_find\_pkcs15\_app().

## RETURN VALUE

Returns the number of applications on the card, or a negative value in case of error.
