From: Liam Healy

Subject: Sharing streams with foreign (C) functions

Date: 1998-2-12 17:11

Is it possible to share/send a stream with a foreign function?  I
would like to have with-open-file open a file, then give the stream
(or some mapping of that stream) to a C function that expects a (C)
stream (e.g., something that would result from the C function fopen).
This C function would put output to that stream and then return to the 
calling CL function.

In the ACL manual sec. 10.6 is on input/output in foreign code,
cautioning the user to do fflush to maintain synchronous behavior.
This implies to me that it is possible, but the manual doesn't say
how.  Their examples are exclusively pre-connected streams (standard
output) in Fortran.

(ACL 4.3.1 for SGI)

-- 
Liam Healy
<nrl.navy.mil at Liam.Healy>