|
Bob cozzi wrote:
>
> Here are the rest of my IFS prototypes, sorry that I couldn't locate them
> earlier.
> ...
> D fgets PR * ExtProc('_C_IFS_fgets')
>
> D inBuffer * Value Options(*STRING)
>
> ...
Bob, why Options(*STRING) on inBuffer? That option allows you to pass a
character expression, but when you do, the character expression always
gets copied to a temporary with a null following it.
If someone did pass a character field thinking it would get set by
fgets, all that would actually be set would be the compiler's internal
temporary.
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.