On Wed, 3 Sep 2025 17:45:29 -0500, Eric Erickson <[email protected]> wrote:
> Now my dilemma is to specify that the calling convention > for this function pointer is OS and not C. I don't actually know, as that is outside of the C standard and will depend on your C compiler. But therein lies a potential solution to the problem (especially if you change compilers). > We have an assembler routine You would be more in control if you have some assembler code that converts between what the C compiler is generating (with or without pragma linkage) and the assembler routine you wish to call. Your assembler routine would convert parameters as appropriate for your needs. BFN. Paul. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
