If memory serves me right, Bill Swingle wrote:

> Chris Costello recommended that I do this like this instead:
> 
> packagesite[0] =3D '\0'
> 
> Which seems to make sense since it lacks the overhead of strlcpy. Is
> there a "right" way to do this?

Although I haven't seen the context for this line (other than what was
in the context diff), I think most C programmers (including myself) 
would go with Chris's suggestion.

Hope this helps,

Bruce.



PGP signature

Reply via email to