> Is StrNCopy the same as normal strncpy or not, as in, would it add a 
> trailing \0 to the end of string if it exceeds maxlen or not?

The latest docs I have say:
> Terminates dst string at index n-1 if the source string length was n-1
> or less.

They also go into some detail about how to use StrNCopy with multi-byte
characters, including some code fragments. They don't mention anything about
different behavior on different versions of Palm OS, so you can probably
assume that this function hasn't changed in any substantial ways since it
was introduced in Palm OS 2.0.
--
Danny @ Palm

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