cs_open

Initialize CS handle: this must be done before any usage of CS.

@arch: architecture type (CS_ARCH_*) @mode: hardware mode. This is combined of CS_MODE_* @handle: pointer to handle, which will be updated at return time

@return CS_ERR_OK on success, or other value on failure (refer to cs_err enum for detailed error).

extern (C)
cs_open

Meta