Function capstone_sys::cs_errno [] [src]

pub unsafe extern fn cs_errno(handle: csh) -> cs_err

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)