sc_delete_record - Delete a record from a file
#include <opensc.h> int sc_delete_record(struct sc_card *card, unsigned int rec_nr);
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.
Returns 0 if successful, or a negative value in case of error.