summaryrefslogtreecommitdiff
path: root/sig_pipe.c
blob: 594ae7d3010b9385301f8b057bbc3698ac5986f3 (plain)
1
2
3
4
5
#include <signal.h>
#include "sig.h"

void sig_pipeignore() { sig_catch(SIGPIPE,SIG_IGN); }
void sig_pipedefault() { sig_catch(SIGPIPE,SIG_DFL); }