Yup. It's a lot saner in C++, but people who refuse to use C++ for political reasons can do it the ugly way using C11 or GNU C.
They even downvote people who suggest C++ :-). Doing this in C is such a colossal waste of time and energy, not to mention the bugs it'll introduce. Sigh!
"political reasons"?
I switched from C++ to C because C++ is too complex and dealing with this complexity was stealing my time. I would not call this a "political reason".