×
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.
On 2018-06-14 10:38 AM, Neale Ferguson wrote:
I exercised the API and int * is correct.
Both "int" and "int *" behave the same for a linkage(OS) call.
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzarh/cpprog278.htm
It says that all arguments except pointers and aggregates are copied to
a temporary and the address of the temporary is passed.
So if the prototype has just "int", it will pass a pointer to the
integer parameter. If the parameter is "int *", it's already a pointer,
so it will just pass the parameter directly.
-- Barbara
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.