comparison compat.h @ 19:5c6155c8e9b6

Handle signals Handled signals are generally blocked and only unblocked when doing blocking I/O, i.e. either when reading commands or printing results. A (possibly queued) signal will then interrupt I/O and can be dealt with in the main loop.
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Fri, 01 Sep 2017 22:33:41 +0200
parents 1e39a251cbe9
children 5bdea77d0c1d
comparison
equal deleted inserted replaced
18:1e39a251cbe9 19:5c6155c8e9b6
29 29
30 #ifndef HAVE_ASPRINTF 30 #ifndef HAVE_ASPRINTF
31 #include "compat/asprintf.h" 31 #include "compat/asprintf.h"
32 #endif /* !HAVE_ASPRINTF */ 32 #endif /* !HAVE_ASPRINTF */
33 33
34 #ifndef HAVE_CLOSEFROM
35 #include "compat/closefrom.h"
36 #endif /* !HAVE_CLOSEFROM */
37
34 #ifndef HAVE_ERR_H 38 #ifndef HAVE_ERR_H
35 #include "compat/err.h" 39 #include "compat/err.h"
36 #endif /* !HAVE_ERR_H */ 40 #endif /* !HAVE_ERR_H */
37 41
38 #ifndef HAVE_GETENTROPY 42 #ifndef HAVE_GETENTROPY