sc_delete_record(3) Delete a record from a file

SYNOPSIS


#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.