1SC_FILE_DUP(3)               OpenSC API reference               SC_FILE_DUP(3)
2
3
4

NAME

6       sc_file_dup - Duplicate a file object
7

SYNOPSIS

9          #include <opensc.h>
10
11          void sc_file_dup(sc_file_t **dest, const sc_file_t *src)
12
13
14

DESCRIPTION

16       This function creates a new file object, duplicates all file
17       information from src into it, and stores it in the pointer pointed to
18       by dest. This object must be released with sc_file_free() after use.
19
20
21
22opensc                            05/04/2007                    SC_FILE_DUP(3)
Impressum