Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
1086 days ago
Compiles are free to not zero padding bytes if a struct is passed to memset but there are some situations where padding is not unspecified, for example if you do partial initialization of it.
1 comments
DSMan195276
1085 days ago
Could you explain what you mean by partial initialization?
link
saagarjha
1085 days ago
= { .foo = bar };
link