pub unsafe extern "C" fn modbus_write_register( ctx: *mut modbus_t, reg_addr: c_int, value: u16, ) -> c_int