Interesting. A reference to _gtca() also in LE Vendor Interfaces. Hints here and there in the C/C++ docs.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Allan Kielstra Sent: Thursday, May 11, 2017 4:37 PM To: [email protected] Subject: Re: How to find Cobol (and C) Working Storage variables in an SVCDUMP Bernd's assembler technique will work. I have no idea why I can't find a description of this (taken from /usr/include/stdio.h) #ifndef __gtca #define __gtca() _gtca() #ifdef __cplusplus extern "builtin" #else #pragma linkage(_gtca,builtin) #endif const void *_gtca(void); #endif online. It is mentioned in the XL C/C++ Runtime Library Reference Since it's not really described, I'm not sure you are allowed to count on it existing in the future. But in the past, that is the function that I have used (in 31-bit anyway) to get the CAA directly in C++. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
