Xref: utzoo comp.sys.hp:2331 comp.lang.c:19674 comp.lang.fortran:2207 Path: utzoo!attcan!uunet!wugate!wupost!wupulm!billc From: billc@wupulm.UUCP (Bill Canning) Newsgroups: comp.sys.hp,comp.lang.c,comp.lang.fortran Subject: HP-UX Fortran/C Procedure Calling Protocol Keywords: Fortran C HP-UX Message-ID: <105@wupulm.UUCP> Date: 29 Jun 89 23:43:54 GMT Followup-To: comp.sys.hp Distribution: na Organization: Washington Univ. Pulmonary, St. Louis Lines: 13 Could someone out there tell me how FORTRAN/9000 expects functions to return thier values? Is it in the same registers that C would return the same type of value, (e.g., INTEGER*4 returned in register D0 by FORTRAN, long int returned in reg. D0 in C.) I am trying to port some code that is written in both FORTRAN and C, originally created on Data General equipment. Any help someone could offer would be greatly appreciated. Thanks in advance, Bill Canning ..!uunet!wugate!wupost!wupulm!billc