[comp.unix.ultrix] How to convert Fortran logical units to file descriptors in C ?

lvw@rama.UUCP (Lyndon VanWagner) (03/26/91)

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@rama.sc.harris.com
Software Engineer		-or-	rama!lvw@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.
-----------------------------------------------------------------------------