2 ms·
gcc and llvm have a cleanup attribute you can use for this. Systemd uses it. https://fdiv.net/2015/10/08/emulating-defer-c-clang-or-gccblocks https://fdiv.net
by jnwatson 5y ago
gcc and llvm have a cleanup attribute you can use for this. Systemd uses it.
https://fdiv.net/2015/10/08/emulating-defer-c-clang-or-gccblocks https://fdiv.net/2015/10/08/emulating-defer-c-clang-or-gccbl...