Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcdc!don From: don@hpfcdc.HP.COM (Don Gourley) Newsgroups: comp.sys.hp Subject: Re: HP-UX Fortran/C Procedure Calling Protocol Message-ID: <5570234@hpfcdc.HP.COM> Date: 5 Jul 89 16:39:53 GMT References: <105@wupulm.UUCP> Organization: HP Ft. Collins, Co. Lines: 12 On the HP9000 Series 300 machines, FORTRAN & C return basic numeric values in the same register(s): d0 for 4 byte values & d0,d1 for 8 byte values. FORTRAN complex values are not returned in registers and it would require some more detailed knowledge of their representation and calling convention to interface complex-valued functions with C functions. *******/ ***************************************************************** ***** /_ _ ***** Don Gourley hplabs!hpfcla!dong * **** / / /_/ **** Colorado Language Lab dong%hpfcla@hplabs.hp.com * ***** / ***** Hewlett-Packard Comp. * *******/ *****************************************************************