|
|||||||||||
|
Re: strncpy() and NULL termination
From: Eivind Eklund <eivind(at)dimaga.com>
Date: Sun Feb 16 1997 - 14:47:14 EST
Then you don't do that. That's hopefully fairly obvious. I'll admit it isn't quite that safe for that kind of code changes; OTOH, it usually prevent people from doing the obvious typos "oh, was that size for _that_ buffer? I didn't notice..." which come fairly often. Eivind Eklund perhaps(at)yes.no http://maybe.yes.no/perhaps/ eivind@freebsd.org Received on Sun Feb 16 11:48:50 1997 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:02 EDT |
||||||||||
|
|||||||||||