External predicates : file handling

From: <grad0479_at_di.uoa.gr>
Date: Thu 26 Feb 2004 07:08:13 AM GMT
Message-ID: <1077779293.403d9b5d9abc7@webmail.uoa.gr>
I am building an application in eclipse in which i use external predicates
(written in C).
These predicates access some files (always the same files).
To do this every time i call an external predicate, i use
fopen() and fclose() to access the files.
Is there any way to keep the files open as long as eclipse is running?
(either by opening a stream in eclipse and passing as an argument to
external predicate, or by putting the file pointers in global variables),

Eddie
Received on Thu Feb 26 07:25:52 2004

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:27 PM GMT GMT