🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.concurrent
1 messages
1 total messages Started by Michael J. Chinni, SMCAR-CCS-E Mon, 12 Feb 1990 09:41
duplicate fildes for open file
#122
Author: Michael J. Chinni, SMCAR-CCS-E
Date: Mon, 12 Feb 1990 09:41
30 lines
1564 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads