[][src]Function opensc_sys::sc_update_record

pub unsafe extern "C" fn sc_update_record(
    card: *mut sc_card,
    rec_nr: c_uint,
    buf: *const u8,
    count: size_t,
    flags: c_ulong
) -> c_int

Updates the data of a record from the current (i.e. selected) file. @param card struct sc_card object on which to issue the command @param rec_nr SC_READ_RECORD_CURRENT or a record number starting from 1 @param buf buffer with to the new data to be written @param count number of bytes to update @param flags flags (may contain a short file id of a file to select) @retval number of bytes written or an error value