> From: Phillip Streck
>
> Does anyone know why StrNCat is defined with the last variable
> being the total length of string, instead of being the number of
> characters to append..
>

The reference lists three ways that StrNCat differs from strncat.  I think
it's just another one of those little "gotchas" to remind you to read the
docs, and don't assume that you know what a function does just because its
name is spelled almost like some other function.

(Although, you *could* pause for a few minutes to curse the lazy inventors
of C who decided to use case-sensitive identifiers just because they weren't
very creative [e.g. so they could declare vars like Int int;] and because
their computers were so slow that they worried about the time the compiler
would have to spend up casing every identifier. :) )


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to