HP OpenVMS Systems

ask the wizard
Content starts here

Seeking Global Section Coding Examples?

» close window

The Question is:

 
Hi Wizard.
I'm working on a porting project of a Unix application to Alpha OpenVMS 7.1
 workstation. I need to implement Unix IPC shared memory APIs like shmget(),
 shmat(), shmctl().
I have found this can be accomplished with system services for
Global Sections, like SYS$CRMPSC, SYS$MGBLSC, SYS$DGBLSC.
Do you have some source code examples of such system services usage?
Thanks.
Angelo Di Bari
 
 


The Answer is :

 
  Various calls such as mmap and related are available on current
  OpenVMS versions.
 
  Examples of the OpenVMS global section system services are located
  at the main page of the OpenVMS Ask The Wizard area and at various
  sites referenced in the OpenVMS FAQ.  For a specific example at the
  Ask The Wizard area, see the "Select a topic below to see Questions
  Frequently Asked by Partners" section, and specifically the "Global
  Sections(How to create and use.)" -- these topics are on the left
  side of the Ask The Wizard main page.
 
  Also please see topics (1661) and (2681).
 

answer written or last revised on ( 27-SEP-2001 )

» close window