🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #5010

String passing (was :Re: Problem calling a C function from Fortran

#5010
From: Rajiv Agrawal
Date: Mon, 22 Aug 1988 20:37
13 lines
1170 bytes
While on the subject of C and FORTRAN on VMS ... How does one pass
strings between the two compilers???  We have VAX FORTRAN and GnuC
compilers.  I just cannot pass any strings between a C routine and a
FORTRAN routine.

Thanks in advance for any help.

Rajiv.
-=-
------------------------------------------------------------------------------
206 W 18th Ave           INTERNET: rajiv@heron.cis.ohio-state.edu
Columbus, OH 43210                 agrawal-r@eng.ohio-state.edu
(614) 292-9029           BITNET: ts5600@ohstvma   CCnet: 6177::agrawal
Technical Details
Message-ID: <20518@tut.cis.ohio-state.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!tuna.cis.ohio-state.edu!rajiv
References: <1134@ssc-bee.ssc-vax.UUCP> <353@sdrc.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!tuna.cis.ohio-state.edu!rajiv
From: rajiv@tuna.cis.ohio-state.edu (Rajiv Agrawal)
Newsgroups: comp.sys.dec,comp.lang.fortran,comp.lang.c
Subject: String passing (was :Re: Problem calling a C function from Fortran
Keywords: Fortran, C, external function in Fortran
Message-ID: <20518@tut.cis.ohio-state.edu>
Date: 22 Aug 88 20:37:06 GMT
References: <1134@ssc-bee.ssc-vax.UUCP> <353@sdrc.UUCP>
Sender: news@tut.cis.ohio-state.edu
Organization: The Ohio State University Dept of Computer and Information Science
Lines: 12