Re: Prototype for QSYRTVAI
Stuart Rowe <[email protected]>
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <CALXyJZwbPDYV2r3NO5wRo4oBzNrujvFY1kehqY_E7dwbH_r+Rw@mail.gmail.com> |
The prototype appears correct. QSYRTVAI is implemented by an external program call -- parameters cannot be passed by value to an external program. On Wed, Jun 13, 2018 at 3:57 PM Neale Ferguson <[email protected]> wrote: > The prototype for QSYRTVAI appears incorrect. The second parameter is > documented as BINARY (4) (int) in the documentation but the prototype is > declaring it to be a pointer to a BINARY (4). I assume the documentation is > correct and the prototype has been incorrectly coded. > > > > > 79 | void QSYRTVAI (void *, /* Receiver variable > */ | 16481 69^M > > 80 | int *, /* Receiver variable length > */ | 16482 69^M > > 81 | char *, /* Format name > */ | 16483 69^M > > 82 | char *, /* Authorization list name > */ | 16484 69^M > > 83 | void *); /* Error code > */ > -- > This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) > mailing list > To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] > Before posting, please take a moment to review the archives > at https://archive.midrange.com/c400-l. > > -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/c400-l or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.