Detecting if executing in a signal handler

Florian Weimer fw@deneb.enyo.de
Sun Feb 21 11:56:00 GMT 2016


Is there a way to check if the current function has been called
(directly or indirectly) from a signal handler?

For my purpose, this in-signal flag should be preserved across
longjmp, siglongjmp, and fork.



More information about the Libc-help mailing list