News for hackers. Stuff that matters.
Re:Depressing and faintly terrifying days for the C standard... by robotresearcher on Thursday May 31, 2018 @03:50AM (#17194694)
Another, better, response to your argument. Initializing an array of structs with = {0} does NOT tell the compiler that zeroing the entire contiguous chunk of memory matters - only that each struct should be zeroed. While memset( (void*)buf, 0, len) does tell the compiler that the entire contiguous memory chunk must be zeroed, which is what is intended.

Language lawyers need not apply.

There are no comments on this comment yet.