× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> > The best source is Barbara Morris' write-up, here:
> > http://www.opensource400.org/callc.html
>
> Damn.  I should have guessed that Barbara
> would have concise, well-written information
> out there.

It's in the FAQ too.  Search on 'C prototype'.  There isn't any
canonical 'C to RPG data type conversion table;' you'd have to study
the C Reference and RPG Reference and do the comparisons yourself
(which is what Barbara did for us!)

The caveat is that these prototype conversions only hold for iSeries C
and iSeries RPG.  If you are looking at some Unix C prototype, the
actual number of bytes occupied by int might be different.  This comes
into play when taking C code off the web and porting it to iSeries to
be used in a service program by RPG-ers.  Guess how I came to know
that tidbit!
  --buck




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.