diff options
Diffstat (limited to 'test/bsd_signal.c')
-rw-r--r-- | test/bsd_signal.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/bsd_signal.c b/test/bsd_signal.c new file mode 100644 index 0000000..b7f0c9e --- /dev/null +++ b/test/bsd_signal.c @@ -0,0 +1,19 @@ +/* bsd_signal(3) needs <string.h> */ + +/* + * Items: bsd_signal( + * Requires: <signal.h> + * Standardized-By: SuS + * Detected-by: gcc-4.4.3 + Linux + */ + +#include <signal.h> + +void handler(int sig) +{ +} + +main(int arg, char **argv) +{ + (void) bsd_signal(0, handler); +} |