hid-replay icon indicating copy to clipboard operation
hid-replay copied to clipboard

Fix signal handler

Open elfring opened this issue 9 years ago • 2 comments

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".

elfring avatar Feb 12 '16 14:02 elfring

I suppose atexit() should work well for the expected purpose.

andy-shev avatar Sep 20 '19 13:09 andy-shev

Would you like to consider other software design options?

elfring avatar Sep 20 '19 17:09 elfring