27.12.2012 Views

OpenVMS Hints & Kinks

OpenVMS Hints & Kinks

OpenVMS Hints & Kinks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Applications<br />

how to do a globalref in ANSI C?<br />

#ifdef __ia64<br />

#define bug_check(code, severity, reboot) \<br />

{ \<br />

extern const int BUG$_##code; \<br />

int bug_code = (int) &BUG$_##code; \<br />

bug_code |= (BUGCHK_##severity) ? ((BUGCHK_##reboot) ? 5 :<br />

4) : 0; \<br />

__PAL_BUGCHK(bug_code); \<br />

}<br />

#endif

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!