Function capstone_sys::cs_errno[][src]

pub unsafe extern "C" fn cs_errno(handle: csh) -> Type
Expand description

Report the last error number when some API function fail. Like glibc’s errno, cs_errno might not retain its old value once accessed.

@handle: handle returned by cs_open()

@return: error code of cs_err enum type (CS_ERR_*, see above)