Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fortran end of string in C

Status
Not open for further replies.

fl0ra

MIS
Jul 27, 2004
93
FR
Hi everyone,
I know jack sh*t in fortran and I need to provide to a lib written in fortran a char * that with the fortran end of string character instead of the \0
that will only take a memset but I need to know the code of such a character.

Anyone to fill me up on this one?
 
It is compiler dependent. Try putting the character count in the first 2 bytes (watch out for big endian/little endian) or the first 4 bytes.

Isn't there an interface manual that tells you what to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top