×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Vernon,

ANY is too strong, but "most" would be accurate.  The reason we cannot
say "any" is that C provides for functions to be declared as builtins;
which causes the function to be passed straight through to the backend
compiler.  This allows C users to directly code MI without having to
necessarily go through an exported function from one of the runtime
*SRVPGMs.  If you see that the function you want is exported by one of
the *SRVPGMs referenced in *BNDDIR QC2LE, then you can call it from
ILE RPG.  In addition to MI, this builtin capability can also be used
by C to access various backend supplied functions.

The vast majority of C functions can be called by ILE RPG.  Certainly any of
the Unix type APIs found in the System API Reference can (so long as ILE RPG
can define/work with the required data types that is -- and I'm thinking of
a couple APIs requiring system pointers when I say this).

Bruce Vining

>
>Bruce
>
>Have I heard that any C functions can be called from ILE RPG, too? With
>appropriate prototype declarations?
>
>Cheers
>
>Vernon Hamberg
>Systems Software Programmer
>Old Republic National Title Insurance Company
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2026 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.