The cci_fetch function fetches the query result executed by cci_execute() from the server-side CAS and stores it to the client buffer. The cci_get_data() function can be used to identify the data of a specific column from the fetched query result.
int cci_fetch(int req_handle, T_CCI_ERROR *err_buf)