3 ms·
The ‘cleanup’ variable attribute¹: __attribute__((cleanup(cleanup_function))) It allows you to create, in essence, destructors for pure C code. 1. https://
by teddyh 6y ago
The ‘cleanup’ variable attribute¹:
__attribute__((cleanup(cleanup_function)))
It allows you to create, in essence, destructors for pure C code.
1. https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Common-Variable-Attributes.html#index-cleanup-variable-attribute https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Common-Variabl...