News for hackers. Stuff that matters.
Re:Stop Memsetting Structures by uryga on Saturday April 27, 2019 @08:42PM (#19768594)
gizmo686's comment [1] explains the subtle difference:

> [...] The technicality of the memset example is that it does not set the bits of the pointer by referring to it as a pointer, so the requirement that 0 behave as if it was a null pointer does not apply.

[1] https://news.ycombinator.com/item?id=19767316

There are no comments on this comment yet.