[Openmcl-devel] Turning file pointers into Lisp streams
Erann Gat
gat at flownet.com
Wed Jun 4 10:40:22 PDT 2003
> int fileno(FILE *);
Aha! So that's the magic incantation.
> or be evil and just access FILE->_fileno (see stdio.h for details and
> warnings against doing this)
Hm, the definition for FILE in /usr/include/stdio.h doesn't have a _fileno
slot (and I would have been surprised to find one since the same FILE* can
be assocaited with multiple FD's at the same time, and which FD's it's
associated with depends on which process is running.)
But fileno is exactly what I needed. Thanks!
E.
_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list