How to convert Fortran logical units to file descriptors in C ?

Lyndon VanWagner lvw at rama.UUCP
Tue Mar 26 06:47:02 AEST 1991


We do mixed language programming, and I've come across the case
where I want to convert a Fortran logical unit to its underlying
file descriptor number.  SunOS 4+ Fortran supports this with
the getfd (3f) call, but Ultrix 4.1+ RISC (DecStation) 
Fortran doesn't supply this function.

Has anyone else tried to do this?
-- 
-----------------------------------------------------------------------------
Lyndon C. VanWagner		Internet:lvw at rama.sc.harris.com
Software Engineer		-or-	rama!lvw at uu.psi.com
Framework Development Group	UUCP:	...!{uupsi,tropix}!rama!lvw
Harris Corporation		PHONE:	(716) 924-9303 ext. 226
Scientific Calculations Division, Fishers, NY 14453
-----------------------------------------------------------------------------
Cornfield's Law (paraphrased):
	Before anything can change, everyone must agree.
	By the time that happens its a different problem.
-----------------------------------------------------------------------------



More information about the Comp.unix.questions mailing list