[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Availability of DEC C routines on earlier releases

» close window

The Question is:

 
<STDIO.H> "popen" function in previous versions.
 
In a fairly recent version of the "DEC C"
compiler, there is a function called "popen".
Initial development of a program was done on
V7.1-1H1, we are unable to compile on a
previous VMS version V6.2-1H3 because it's
compiler does not include this function. Was
there an equivalent function in previous revs
of the compiler?
 
DEC C V5.5-002 on OpenVMS Alpha V7.1-1H1
 
__FILE_ptr32 popen(const char *__command, const char *__mode);
 
DEC C V5.0-003 on OpenVMS Alpha V6.2-1H3
 
[NONE]
 
 


The Answer is :

 
  popen is available in OpenVMS V7.0 and later releases.
 
  DEC C V5.6 and later compilers include the "backport" library,
  which allows routines added in more recent OpenVMS releases to
  be used on programs to be compiled and used on earlier OpenVMS
  releases.
 

answer written or last revised on ( 10-FEB-1999 )

» close window