- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On most unix Fortran compilers, it is possible to get the C's file pointer associated to a logical unit,
either directly (FSTREAM on HP-UX Fortran; GETFILEP on SunOS Fortran), or indirectly by getting
the unix file descriptor (GETFD on Compaq Unix Fortran; FNUM on GNU Fortran).
How to implement this feature in Compaq Windows and OpenVMS Fortran ?
I am looking forward to read your suggestions.
Thanks.
Michel K.
either directly (FSTREAM on HP-UX Fortran; GETFILEP on SunOS Fortran), or indirectly by getting
the unix file descriptor (GETFD on Compaq Unix Fortran; FNUM on GNU Fortran).
How to implement this feature in Compaq Windows and OpenVMS Fortran ?
I am looking forward to read your suggestions.
Thanks.
Michel K.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For our compilers on Windows and OpenVMS, there is no C file pointer associated with a Fortran unit - I/O is done using direct OS calls. You can use the USEROPEN feature to do your own file open and get the file handle (or on VMS, the FAB and RAB, though the RAB is accessible through DFOR$RAB. You can't do C I/O on these.
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page