[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Sharing File Access, Channels?

» close window

The Question is:

 
How to convert a Fortran logical unit number into a standard C file pointer?
 
Assuming a Fortran programme in which a valid file is open, how to access a C
 function requesting a argument of type FILE*.
 
Thanks.
 


The Answer is :

 
  Open the file with the shared access keyword, and use a second channel
  to the file. (Mixing language I/O accesses on the same channel is not
  recommended.)
 

answer written or last revised on ( 14-JAN-2003 )

» close window