HP OpenVMS Systemsask the wizard |
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.)
|