hid-replay
hid-replay copied to clipboard
Fix signal handler
The functions "exit" and "fclose" do not belong to the list of async-signal-safe functions. I guess that a different program design will be needed for your function "signal_callback_handler".
I suppose atexit()
should work well for the expected purpose.