[][src]Function capstone_sys::cs_errno

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

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)