News for hackers. Stuff that matters.
Re:Beej’s Guide to C Programming [pdf] by alexhutcheson on Friday April 23, 2021 @11:39AM (#26915848)
It’s not standardized, but if you’re using gcc, you can use the cleanup attribute for this: https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attribute...

IIRC clang implements it as well, but I wasn’t able to find a reference to it in their docs.

There are no comments on this comment yet.