[][src]Function opensc_sys::sc_disconnect_card

pub unsafe extern "C" fn sc_disconnect_card(card: *mut sc_card) -> c_int

Disconnects from a card, and frees the card structure. Any locks made by the application must be released before calling this function. NOTE: The card is not reset nor powered down after the operation. @param card The card to disconnect @return SC_SUCCESS on success and an error code otherwise