VxWorks Reference Manual : Libraries
wdShow - watchdog show routines
wdShowInit( ) - initialize the watchdog show facility
wdShow( ) - show information about a watchdog
This library provides routines to show watchdog statistics, such as watchdog activity, a watchdog routine, etc.
The routine wdShowInit( ) links the watchdog show facility into the VxWorks system. It is called automatically when this show facility is configured into VxWorks using either of the following methods:
- If you use the configuration header files, define INCLUDE_SHOW_ROUTINES in config.h.
- If you use the Tornado project facility, select INCLUDE_WATCHDOGS_SHOW.
wdLib.h
wdShow, wdLib, VxWorks Programmer's Guide: Basic OS, Target Shell, windsh, Tornado User's Guide: Shell
wdShowInit( ) - initialize the watchdog show facility
void wdShowInit (void)
This routine links the watchdog show facility into the VxWorks system. It is called automatically when the watchdog show facility is configured into VxWorks using either of the following methods:
- If you use the configuration header files, define INCLUDE_SHOW_ROUTINES in config.h.
- If you use the Tornado project facility, select INCLUDE_WATCHDOGS_SHOW.
N/A
wdShow( ) - show information about a watchdog
STATUS wdShow ( WDOG_ID wdId /* watchdog to display */ )
This routine displays the state of a watchdog.
A summary of the state of a watchdog is displayed as follows:
-> wdShow myWdId Watchdog Id : 0x3dd46c State : OUT_OF_Q Ticks Remaining : 0 Routine : 0 Parameter : 0
OK or ERROR.
wdShow, VxWorks Programmer's Guide: Target Shell, windsh, Tornado User's Guide: Shell