OpenSC API Referencesc_delete_record3openscsc_delete_recordDelete a record from a fileSynopsis
#include <opensc.h>
int sc_delete_record(struct sc_card *card, unsigned int rec_nr);
Description
This function deletes a record specified by rec_nr on
card. This is not a standard ISO
7816 operation, and is currently only supported on the Oberthur smart cards.
Return value
Returns 0 if successful, or a negative value in case of error.