VxWorks Reference Manual : Libraries
trgShow - trigger show routine
trgShowInit( ) - initialize the trigger show facility
trgShow( ) - show trigger information
This library provides routines to show event triggering information, such as list of triggers, associated actions, trigger states, and so on.
The routine trgShowInit( ) links the triggering show facility into the VxWorks system. It is called automatically when INCLUDE_TRIGGER_SHOW is defined.
trgShowInit( ) - initialize the trigger show facility
void trgShowInit (void)
This routine links the trigger show facility into the VxWorks system. These routines are included automatically when INCLUDE_TRIGGER_SHOW is defined.
N/A
trgShow( ) - show trigger information
STATUS trgShow ( TRIGGER_ID trgId, int level )
This routine displays trigger information. If trgId is passed, only the summary for that trigger is displayed. If no parameter is passed, the list of existing triggers is displayed with a summary of their state. For example:
trgID Status EvtID ActType Action Dis Chain ----------------------------------------------------------- 0xffedfc disabled 101 3 0x14e7a4 Y 0xffe088 0xffe088 enabled 55 1 0x10db58 Y 0x0If level is 1, then more detailed information is displayed.
-> trgShow trgId, 1
OK.