Lines Matching defs:handler
517 /* signal handler that will be triggered to indicate that the program
539 /* CTRL event handler for Windows Console applications to simulate
540 * SIGINT, SIGTERM and SIGBREAK on CTRL events and trigger signal handler.
577 /* Window message handler for Windows applications to add support
657 static SIGHANDLER_T set_signal(int signum, SIGHANDLER_T handler,
664 sa.sa_handler = handler;
674 SIGHANDLER_T oldhdlr = signal(signum, handler);
705 logmsg("cannot install SIGHUP handler: %s", strerror(errno));
711 logmsg("cannot install SIGPIPE handler: %s", strerror(errno));
718 logmsg("cannot install SIGALRM handler: %s", strerror(errno));
727 logmsg("cannot install SIGINT handler: %s", strerror(errno));
733 logmsg("cannot install SIGTERM handler: %s", strerror(errno));
739 logmsg("cannot install SIGBREAK handler: %s", strerror(errno));
743 logmsg("cannot install CTRL event handler");