[−][src]Function opensc_sys::sc_write_record
pub unsafe extern "C" fn sc_write_record(
card: *mut sc_card,
rec_nr: c_uint,
buf: *const u8,
count: size_t,
flags: c_ulong
) -> c_int
Writes data to 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 data to be written @param count number of bytes to write @param flags flags (may contain a short file id of a file to select) @retval number of bytes written or an error value