From: "Igor Mozolevsky" <[EMAIL PROTECTED]>
> 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?
StrNCopy(dest, src, len);
>From experience.. if StrLen(src) >= len then a trailing NULL is not added to
dest.. if StrLen(src) < len then it does.
Also, in Palm OS4 (perhaps the rev before?), dest and src MUST both be NULL
terminated strings or you will crash because StrNCopy uses StrLen
internally.
----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://HandAble.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/