- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a portable way of replicating the fseek function (not using ifport)?
How can I replicate functions like:
i) filepointer = fseek(funit,startpos,0)
ii) filepointer = fseek(funit,offset,1)
Thank you,
T.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortran 2003 provides ACCESS='stream' and POS=ipos keyword arguments in INQUIRE, OPEN, READ and WRITE statements for this purpose. Please consult your compiler reference manual to ascertain if the functionality is sufficient for your needs.

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