gtpc2m0u | C/C++ Language Support User's Guide |
This function allows ECB-controlled programs to quickly access protected main storage by returning a pointer to an interface point at execution time. This function can access interface points for any active subsystem.
Format
#include <c$cinfc.h> void *cinfc_fast_ss(int tag, int ssindex);
Normal Return
Pointer to interface address.
Error Return
Not applicable.
Programming Considerations
Examples
The following example returns the address of a field in the subsystem where the ECB is running and does not change the protect key.
#include <c$cinfc.h> #include <c$eb0eb.h>
·
·
·
char *field_ptr;
·
·
·
field_ptr = (char *)cinfc_fast_ss(CINFC_CMMOPS, ecbptr()->ce1dbi);
·
·
·
Related Information