Article View: comp.sys.dec
Article #3802global sections in C?
From: John G Hardie
Date: Wed, 18 Nov 1992 23:20
Date: Wed, 18 Nov 1992 23:20
32 lines
1500 bytes
1500 bytes
Hi. Would some kind soul take pity on me and please (PLEASE?!) tell me exactly how to create and map global sections from a C program under VMS? I've got an example in FORTRAN, but it makes use of some hidden file manipulation stuff by using OPEN(...,USEROPEN=MYOPEN...) which sets up the FAB, RAB and whatever else. There does not seem to be an equivalent mechanism in C so I have to do the initialization myself. There are a million fields/flags/whatevers to set in this structure and I can't seem to make it work. I've tried translating both the fortran version and the MACRO fragments from the SYSTEM SERVICES manual into C, then tweaking, but so far it doesn't work. I've looked through the C Manual, and the C RTL manual, both of which are silent on the issue. I am at a loss - I've searched the orange wall until I'm blue in the face but I remain clueless. Please help a poor soul in distress... Regards, John -- jgh1@vm1.cis.pitt.edu Give me chastity and continency, but do not give them yet.
Technical Details
Message-ID:
<9872@blue.cis.pitt.edu.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!drycas.club.cc.cmu.edu!pitt.edu!jgh1Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!drycas.club.cc.cmu.edu!pitt.edu!jgh1 From: jgh1+@pitt.edu (John G Hardie) Newsgroups: comp.sys.dec Subject: global sections in C? Message-ID: <9872@blue.cis.pitt.edu.UUCP> Date: 18 Nov 92 23:20:53 GMT Sender: news+@pitt.edu Organization: University of Pittsburgh Lines: 32 Originator: jgh1@unixd2.cis.pitt.edu