File pointers C <---> Pascal

Janne Andersson janne at erix.UUCP
Thu Nov 27 03:01:40 AEST 1986


I want to open more Pascal text files against standard output,
than is provided by just using the normal 'output'. I don't want
to use /dev/tty. How to do this ?

Maybe something like this:

 Pascal:     procedure termout(var fp : text);
                    external c;

      C:          void termout(fp)
                    ??? ?fp;
                  {
                   ???
                  }

Thanks in advance for any suggestions.

Janne Andersson      (janne at erix.UUCP)
Ericsson Telecom
Sweden



More information about the Comp.lang.c mailing list