BlinkenArea - GitList
Repositories
Blog
Wiki
uproctrace
Code
Commits
Branches
Tags
Search
Tree:
fb431ce
Branches
Tags
master
uproctrace
liblwptpl
src
destructor.c
implement proc_end event
Stefan Schuermans
commited
fb431ce
at 2020-05-17 17:11:52
destructor.c
Blame
History
Raw
#include <liblwpttr/proc_end.h> #include "write.h" #include <stdlib.h> __attribute__((destructor)) static void destructor(void) { void *data = NULL; size_t size = 0; lwpttr_proc_end(&data, &size); lwptpl_write(data, size); }