SET_SYS_ERROR
#define SET_SYS_ERROR(h, c) if (h) {\
#define SET_SYS_ERROR(h, c) h->lasterr.kstype = -1; h->lasterr.errcode = c;