get_gbl_ptr

Get the address of a named global data section

WSupported on Windows
USupported on Unix

 

 

GBLENTRY *get_gbl_ptr(char *global)

Arguments

global

A pointer to a null-terminated string that defines the named global data to find.

Discussion

The get_gbl_ptr function gets the address of a named global data section.

The return value is a pointer to the controlling GBLENTRY structure for the data. If get_gbl_ptr can’t find the named data, the return value is null.

A GBLENTRY structure exists for each global data section name and for each global common variable that is declared in the executing program.