Skip to content

Commit

Permalink
Remove dyninstAPI/nt_signal_emul.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent bad26a2 commit cfef6a3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/dyninstAPI/developer/nt_signal_emul.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,18 @@
nt_signal_emul.h
################

.. code:: cpp
#define SIGEM_EVENTMASK 0xff00
#define SIGEM_SIGNALED 0x100
#define SIGEM_EXITED 0x200
#define SIGEM_STOPPED 0x300
#define SIGEM_SIGMASK 0xff
#define WIFSIGNALED(x) (((x) & SIGEM_EVENTMASK) == SIGEM_SIGNALED)
#define WIFEXITED(x) (((x) & SIGEM_EVENTMASK) == SIGEM_EXITED)
#define WIFSTOPPED(x) (((x) & SIGEM_EVENTMASK) == SIGEM_STOPPED)
#define WSTOPSIG(x) ((x) & SIGEM_SIGMASK)
#define WTERMSIG(x) ((x) & SIGEM_SIGMASK)

0 comments on commit cfef6a3

Please sign in to comment.