Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
sapipe.sa_handler = mpd_signalHandler;
// sapipe.sa_mask = 0;
sapipe.sa_flags = 0;
#ifdef __linux__
sapipe.sa_restorer = NULL;
#endif /* __linux__ */
sigaction(SIGPIPE,&sapipe,NULL);
/* connect stuff */