> Dearly beloved Palm SDK guys,
> 
> 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 will only copy X chars.. i believe you have to put the \0
  on the end yourself :P it doesn't hurt if you do anyhow.. doing
  it twice is better than none at all :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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