[comp.sys.concurrent] duplicate fildes for open file

mchinni@pica.army.mil (Michael J. Chinni, SMCAR-CCS-E) (02/12/90)

Help,

	Situation is the following:
I need to read data in a C routine from a file opened by a FORTRAN main
routine.  When the program is run:
		the file is guaranteed to exist 
		the file is guaranteed to have been opened 
		the FORTRAN unit number for this open file is known
		the name of the file is known

	Question:
Is there any way to get a valid "FILE *ptr" for my C routine for this currently
open file ?

Any help will be very much appreciated.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
			    Michael J. Chinni
      Chief Scientist, Simulation Techniques and Workplace Automation Team
	 US Army Armament Research, Development, and Engineering Center
 User to skeleton sitting at cobweb   () Picatinny Arsenal, New Jersey  
    and dust covered workstation      () ARPA: mchinni@pica.army.mil
      "System been down long?"        () UUCP: ...!uunet!pica.army.mil!mchinni
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Articles to: concurrent@soma.bcm.tmc.edu or uunet!soma.bcm.tmc.edu!concurrent
Administrative stuff: concurrent-request@soma.bcm.tmc.edu
Stan Barber, Moderator