#include <canlib.h> canStatus canReadStatus(int handle, unsigned long* flags);
Returns the status for the specified circuit. flags points to a longword which receives a combination of the canSTAT_xxx flags.
canOK (zero) if success canERR_xxx (negative) if failure.