gtpc2m1w | C/C++ Language Support User's Guide |
This function increments the count for a count event after the event has been defined with the evntc function. An evnwc function cannot have been issued for the event before the evinc call.
Format
#include <tpfapi.h> int evinc(struct ev0bk *evninf);
Normal Return
Integer value of zero.
Error Return
An integer value of 1 is returned if the event is not found.
Programming Considerations
Examples
The following example increments the count of the event pointed to by event_ptr.
#include <tpfeq.h> struct ev0bk *event_ptr;
·
·
·
evntc(event_ptr, EVENT_CNT, 'N', 250, EVNTC_NORM); evinc(event_ptr);
Related Information