Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 6/7/83; site hao.UUCP
Path: utzoo!linus!philabs!seismo!hao!woods
From: woods@hao.UUCP
Newsgroups: net.wanted
Subject: F77 <--> C interface
Message-ID: <585@hao.UUCP>
Date: Tue, 19-Jul-83 19:22:13 EDT
Article-I.D.: hao.585
Posted: Tue Jul 19 19:22:13 1983
Date-Received: Wed, 20-Jul-83 09:52:51 EDT
Organization: High Altitude Obs./NCAR, Boulder CO
Lines: 19


  We have just acquired a VAX 11/750 (running 4.1aBSD, waiting for 4.2). What
I want is any information anyone has on implementing the routines in sections
2 and 3 of the manual to be callable from FORTRAN. Has anyone already written
such a library? I do not look forward to the prospect of writing 12 thousand
C routines that look like

seek_(fildes,offset,ptrname)
int *fildes; long *offset; int *ptrname;
{
   return(seek(*fildes,*offset,*ptrname));
}

  The syntax of that may not be exactly perfect, but I think you get the
picture. Any helpful hints, or preferably pointers to available source code
for such a library, would be greatly appreciated. 

                        GREG
 {ucbvax!hplabs | allegra!nbires | decvax!brl-bmd | harpo!seismo | menlo70}
       		        !hao!woods