Re: 16 bits char string from C to FORTRAN

2009-04-23 Thread Americo Barbosa da Cunha Junior
Sorry for my mistake. I'll send the message to the appropriate mailing list. Americo On Fri, Apr 24, 2009 at 12:31 AM, Ian Lance Taylor wrote: > Americo Barbosa da Cunha Junior writes: > >> I'm  calling a FORTRAN subroutine in a ANSI C program. The subroutine >> has the following prototype: >

Re: 16 bits char string from C to FORTRAN

2009-04-23 Thread Ian Lance Taylor
Americo Barbosa da Cunha Junior writes: > I'm  calling a FORTRAN subroutine in a ANSI C program. The subroutine > has the following prototype: This message is not appropriate for the mailing list gcc@gcc.gnu.org, which is for gcc developers. This question would have been appropriate on gcc-h...

16 bits char string from C to FORTRAN

2009-04-23 Thread Americo Barbosa da Cunha Junior
Hello there, I'm  calling a FORTRAN subroutine in a ANSI C program. The subroutine has the following prototype: C: void CKINIT_(int *LENICK,int *LENRCK,int *LENCCK,int *LINC,int *LOUT,     int *ICKWRK,double *RCKWRK,char *CCKWRK,int *IFLAG); FORTRAN:   SUBROUTINE CKINIT