'fortran' keyword query - (nf)

ks at ecn-ee.UUCP ks at ecn-ee.UUCP
Fri Feb 17 23:21:02 AEST 1984


#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



More information about the Comp.lang.c mailing list