Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

making a filter using stream I/O

12 views
Skip to first unread message

John

unread,
Jun 23, 2009, 3:50:06 AM6/23/09
to
Is there a standard way to make preassigned files be
ACCESS="STREAM" ? If INPUT_UNIT and OUTPUT_UNIT have to be closed
and re-opened to become STREAM files there seems to be nothing that
guarantees they be re-assigned to "stdin" and "stdout". This is a very
common requirement of many
filter programs; and makes it very hard to make such programs work
with GNU/Unix shell pipes. I have been doing this for
a long time with calls to C routines (and machine code in the past) or
other non-standard solutions -- and anyone that has done that probably
knows the many perils involved in mixing C and Fortran I/O in various
environments.
0 new messages