shengli's blog

Tick the World

don't use memset() init your struct

Posted at — Jun 4, 2017

Don’t use memset init your struct

Even in some open source project, we always see memset filled in the code, here I had like give the reason why we should not use memset if possible.

comments powered by Disqus