• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/mountd/signal.c

  1 #include <signal.h>
  2 #include <stdlib.h>
  3 #include <unistd.h>
  4 
  5 #include "include/log.h"
  6 #include "include/list.h"
  7 #include "include/led.h"
  8 #include "include/signal.h"
  9 
 10 void signal_init(void (*_crtlc_cb)(int))
 11 {
 12         struct sigaction s;
 13         s.sa_handler = _crtlc_cb;
 14         s.sa_flags = 0;
 15         sigaction(SIGTERM, &s, NULL);
 16 }
 17 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt