Re:Android Project Changeset 4f8b683: libc/memset.c
by prodigal_erik on Tuesday May 25, 2010 @11:47PM
(#1379451)
I took it as saying you should remember how much of the buffer you have actually used. If you only read what you write, it doesn't matter whether the rest of the buffer is filled with \0 or not, so you can skip the memset.
[ Parent
| on HN ]
There are no comments on this comment yet.