All of my C functions are declared to return 'int'.

[Scott Klement]
> Is the return value "char" or "unsigned char" by any chance?  We're
> actually having a discussion on the RPG mailing list right now about
> 1-byte return values, and how they're handled differently in different
> languages.
>
> RPG and COBOL handle it one way, C and CL handle it a different way.
>
> Is this what's happening to you?



This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].