🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.concurrent
Article #122

duplicate fildes for open file

#122
From: 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
Technical Details
Message-ID: <180@gazette.bcm.tmc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bcm!soma!concurrent-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bcm!soma!concurrent-request
From: mchinni@pica.army.mil (Michael J. Chinni, SMCAR-CCS-E)
Newsgroups: comp.sys.concurrent
Subject: duplicate fildes for open file
Message-ID: <180@gazette.bcm.tmc.edu>
Date: 12 Feb 90 09:41:07 GMT
Sender: usenet@bcm.tmc.edu
Lines: 30
Approved: concurrent@soma.neuro.bcm.tmc.edu