Y
Hacker News
new
|
ask
|
show
|
jobs
by
badc0ffee
417 days ago
You could always `bzero` or `memset` the entire struct to 0.
1 comments
trinix912
417 days ago
But only if it contains strictly POD members, otherwise it's UB.
link