Move SIG_IGN and friends to C in order to define them correctly

This commit is contained in:
Jeremy Soller
2019-08-08 20:06:38 -06:00
parent 8feed5bbd5
commit e7d19e2a58
3 changed files with 12 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
#ifndef _BITS_SIGNAL_H
#define _BITS_SIGNAL_H
#define SIG_DFL ((void (*)(int))0)
#define SIG_IGN ((void (*)(int))1)
#define SIG_ERR ((void (*)(int))-1)
#endif // _BITS_SIGNAL_H