Xref: utzoo comp.lang.fortran:5033 comp.unix.ultrix:6671 comp.lang.c:37582 comp.unix.questions:29788 comp.unix.wizards:24539 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!rama!lvw From: lvw@rama.UUCP (Lyndon VanWagner) Newsgroups: comp.lang.fortran,comp.unix.ultrix,comp.lang.c,comp.unix.questions,comp.unix.wizards Subject: How to convert Fortran logical units to file descriptors in C ? Keywords: Ultrix,Digital,C,Fortran,Units,file descriptors Message-ID: <10942@rama.UUCP> Date: 25 Mar 91 20:47:02 GMT Distribution: na Organization: Scientific Calculations, Fishers, NY Lines: 19 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. -----------------------------------------------------------------------------