gtpc2m0tC/C++ Language Support User's Guide

cinfc_fast-Fast Control Program Interface

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 only access basic subsystem (BSS) interface points.

Format

#include   <c$cinfc.h>
void         *cinfc_fast(int tag);

tag
This parameter is the symbolic label of the interface point.

Normal Return

Pointer to interface address.

Error Return

Not applicable.

Programming Considerations

Examples

The following example returns the address of a field and does not change the protect key.

#include <c$cinfc.h>

  ·
  ·
  ·
char *field_ptr;
  ·
  ·
  ·
field_ptr = (char *)cinfc_fast(CINFC_CMMINC);
  ·
  ·
  ·

Related Information