1SC_FILE_DUP(3) OpenSC API reference SC_FILE_DUP(3)
23
4
NAME
6sc_file_dup - Duplicate a file object
7
SYNOPSIS
9#include <opensc.h>
1011
void sc_file_dup(sc_file_t **dest, const sc_file_t *src)
1213
14
DESCRIPTION
16This function creates a new file object, duplicates all file
17information from src into it, and stores it in the pointer pointed to
18by dest. This object must be released with sc_file_free() after use.
1920
21
22
opensc 05/04/2007 SC_FILE_DUP(3)