Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jgh1+@pitt.edu (John G Hardie)
Subject: global sections in C?
Date: 18 Nov 92 23:20:53 GMT	[thread overview]
Message-ID: <9872@blue.cis.pitt.edu.UUCP> (raw)


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.


                 reply	other threads:[~1992-11-18 23:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox