gtpc2m9k | C/C++ Language Support User's Guide |
This function returns information from the WGTA table concerning a terminal LNIATA (or pseudo-LNIATA) value.
Format
#include <tpfapi.h> struct wg0ta *wgtac(int lniata, unsigned char cpuid, struct wg0ta *storage);
Normal Return
Pointer to struct wg0ta for the requested LNIATA.
Error Return
NULL pointer.
Programming Considerations
None.
Examples
The following example obtains a copy of the WGTA table information for the LNIATA referred to from the issuing ECB.
#include <tpfapi.h> struct wg0ta *wgta;
·
·
·
wgta = (struct wg0ta *) getcc(D4, TYPE, L1); if(!(wgta = wgtac(ecbptr()->ebrout,ecbptr()->ce1cpd,wgta))) { /* Item not found if return was zero */ puts("LNIATA not referenced in WGTA table\n"); relcc(D4); } else /* Normal processing path */
·
·
·
Related Information