"Phillip Streck" <[EMAIL PROTECTED]> wrote in message
news:49695@palm-dev-forum...

> 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..

Because you use StrNCat when you're appending into a string in a limited
buffer where there is the chance that you might exceed the buffer
length.  The N is a safety value.  If you need to append just part of a
string, use a combination of StrLen and StrNCopy to get the required
effect.

--
Ben Combee, [EMAIL PROTECTED]
Techwood Broadcasting Foundation, Austin Bureau



-- 
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