OpenSC API Reference sc_delete_file 3 opensc sc_delete_file Delete a file Synopsis #include <opensc.h> int sc_delete_file(struct sc_card *card, const struct sc_path *path); Description This function deletes a file specified by path on card. Return value Returns 0 if successful, or a negative value in case of error.