This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Getting a (FILE *) from a file descriptor
- To: Gary Houston <ghouston@easynet.co.uk>
- Subject: Getting a (FILE *) from a file descriptor
- From: Ian Grant <I.A.N.Grant@damtp.cam.ac.uk>
- Date: Sun, 20 Jun 1999 17:05:20 +0100 (BST)
- cc: guile@cygnus.com
A library I'm using has a trace function which takes a FILE pointer and
writes trace output to it. This was easy when guile's ports were based on
FILEs, but the new port code is over file descriptors. Is there a way to
open a FILE over an existing fd? Maybe this is a basic Unix question, not
a guile question at all.
Thanks
Ian