Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site pur-ee.UUCP
Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!ihnp4!inuxc!pur-ee!ecn-ee!ks
From: ks@ecn-ee.UUCP
Newsgroups: net.lang.c
Subject: 'fortran' keyword query - (nf)
Message-ID: <1603@pur-ee.UUCP>
Date: Fri, 17-Feb-84 08:21:02 EST
Article-I.D.: pur-ee.1603
Posted: Fri Feb 17 08:21:02 1984
Date-Received: Sat, 18-Feb-84 04:05:09 EST
Sender: notes@pur-ee.UUCP
Organization: Electrical Engineering Department , Purdue University
Lines: 22

#N:ecn-ee:13100009:000:658
ecn-ee!ks    Feb 16 23:01:00 1984

Does anyone really know what the fortran keyword is supposed to do..
The 4.2BSD C compiler will let you declare a function as type fortran
then just treats it the same as a function of type int..

If you try to use it to declare a variable,
you get the following error message:

"ks.c", line 4: fortran declaration must apply to function

Extrapolating a little, is this keyword intended to be used to declare
an external function as fortran so the compiler uses a different calling
procedure (call by reference, adding a '_' after the function name, etc.)?
But no one really has ever bothered to implement it??

Any ideas???

					Kirk Smith
					Purdue EE