Skip to content
Snippets Groups Projects
Commit 4a09815e authored by Virgile Prevosto's avatar Virgile Prevosto Committed by David Bühler
Browse files

[libc] Avoid confusing Eva on the value of SIG_IGN, SIG_DFL and SIG_ERR

parent 297788c4
No related branches found
No related tags found
No related merge requests found
...@@ -46,13 +46,13 @@ typedef void (*__fc_sighandler_t) (int); ...@@ -46,13 +46,13 @@ typedef void (*__fc_sighandler_t) (int);
/* for BSD 4.4 */ /* for BSD 4.4 */
typedef __fc_sighandler_t sig_t; typedef __fc_sighandler_t sig_t;
extern sig_t __fc_sig_dfl; extern void __fc_sig_dfl(int);
extern sig_t __fc_sig_ign; extern void __fc_sig_ign(int);
extern sig_t __fc_sig_err; extern void __fc_sig_err(int);
#define SIG_DFL __fc_sig_dfl /* default signal handling */ #define SIG_DFL (&__fc_sig_dfl) /* default signal handling */
#define SIG_IGN __fc_sig_ign /* ignore signal */ #define SIG_IGN (&__fc_sig_ign) /* ignore signal */
#define SIG_ERR __fc_sig_err /* error return from signal */ #define SIG_ERR (&__fc_sig_err) /* error return from signal */
#define SIG_BLOCK 0 #define SIG_BLOCK 0
#define SIG_UNBLOCK 1 #define SIG_UNBLOCK 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment