mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
19 lines
230 B
C
19 lines
230 B
C
#include <stdio.h>
|
|
#include <signal.h>
|
|
|
|
foo(int sig)
|
|
{
|
|
return;
|
|
}
|
|
|
|
main()
|
|
{
|
|
sigset_t all;
|
|
|
|
signal (1, foo);
|
|
sigfillset(&all);
|
|
sigprocmask(SIG_BLOCK, &all, NULL);
|
|
printf("Begin pause\n");
|
|
pause();
|
|
printf("Done pause\n");
|
|
}
|