---
name: "sc_copy_asn1_entry"
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_copy_asn1_entry"
---

# sc\_copy\_asn1\_entry(3)

Copy an ASN.1 entry

## NAME

sc\_copy\_asn1\_entry - Copy an ASN.1 entry

## SYNOPSIS

```
#include <opensc.h>
void sc_copy_asn1_entry(const struct sc_asn1_entry *src, struct sc_asn1_entry *dest);
```

## DESCRIPTION

This function copies an array of struct sc\_asn1\_entry entries pointed to be *src* to *dest*. The array must be NULL-terminated (that is, the last entry must have its *name* field set to NULL). There must be enough space available in *dest*.
