Path: utzoo!attcan!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!lavaca.uh.edu!elroy!chee13h From: chee13h@elroy.uh.edu (A JETSON News User) Newsgroups: comp.unix.wizards Subject: FORTRAN I/O channel => file descriptor..how?? Message-ID: <5725.25f25d3d@elroy.uh.edu> Date: 5 Mar 90 18:36:13 GMT Organization: University of Houston Lines: 17 Hi, I am porting a FORTRAN application to the DG AVION unix system and have run up against this problem. The FORTRAN(alas!) compile supplied by them doesnot provide the fortran channel to file descriptor conversion. I need this desperately to use the file locking mechanishms. Can anybody suggest a way to hack an implementation to achieve the above?? I have come up with the following solution :: Convert the filename to an inode using stat() and try to access the file descriptor table and search. However, how do I access this table? I donot seem to find a functional interface to this table. thanks ashok chee13h@jane.uh.edu