Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* global sections in C?
@ 1992-11-18 23:20 John G Hardie
  0 siblings, 0 replies; only message in thread
From: John G Hardie @ 1992-11-18 23:20 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1992-11-18 23:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-11-18 23:20 global sections in C? John G Hardie

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