On Tue, 21 Sep 2010, Tamas TEVESZ wrote: > it doesn't really matter. if you are just starting to fill up a > storage, cat and cpy do the same thing. for consistency's sake i'll > make them consistent, thanks for pointing it out.
before you really believe this, there's one important difference: strlcat does not forcefully null-terminate iff there is no space left for it in dst (this is unlike strlcpy). this may come handy if one operates on an array of bytes of some length that are not necessarily c strings. in this case you found i was inconsistent, the distinction is mostly irrelevant, but don't want to mislead people :) -- [-] mkdir /nonexistent -- To unsubscribe, send mail to [email protected].
