|
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?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.