|
Barbara, I'm a bit lost. You say my RPG prototype should be 10A, not *string.
But your example showing RPG protype with *string.
I really prefer to do typedef struct { char value[10]; } logECD_STP3_piModuleName_T;
But I don't want to have to do below in c just to call a function:
memset(&piModuleName, ' ', sizeof(piModuleName));
memcpy(&piModuleName, "MYMODULE",8);
logECDSTP3(piModuleName...)
I want to do this, hence, I changed it to use *string
logECDSTP3("MYMODULE", ...)
Clear as mud?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.