Next:
Engine structure
Up:
API
Previous:
Database loading
Contents
Error handling
Use
cl_strerror
to convert error codes into human readable messages. The function returns a statically allocated string:
if(ret) { printf("cl_load() error: %s\n", cl_strerror(ret)); exit(1); }
Tomasz Kojm 2008-09-01