int filehandle? && small rootcint enhancement.

From: Robert Casties (casties@desy.de)
Date: Thu Jul 03 1997 - 18:25:20 MEST


Hello roots!

Im working on interfacing root with some fortran libraries which works
fine (after some hassle). My problem at the moment is how to get the LUN
of a file opened in CINT to pass it to some fortran function.

According to POSIX there's a fileno() on streams which returns the int
filehandle (I hope that's what fortran calls LUN) but I couldn't find it
in CINT.

Is there any other possibility to get such a LUN for a file?


Besides, why does rootcint always complain and stop if it's outputfile
already exists? Is that some what convenient bahaviour? I found it rather
unhandsome since if there's an error rootcint produces an (corrupted)
outputfile which has to be deleted before it can run again.


Cheers
	Robert

P.S. it's fun to see the old fortran libraries run in an interpreter :-) 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:19 MET