chsvlib
chsv helper source code

◆ ChsvCode

#define ChsvCode (   sev,
  fac,
  speccode 
)

#include <chsverr.h>

A macro generating a chsvlib error code by the specified severity, facility and error code.

Parameters
sevis an integer variable with the low-order bit specifying the severity of the code.
facis an integer variable with eleven low-order bits indicating low-order bits specifying the code facility.
speccodeis a chsvlib facility specific error code given by the 16 low-order bits of this integer value.
See also
CHSV_ERROR_CODE.
Remarks
Declared in chsverr.h.