File: sig_pipe.c

package info (click to toggle)
dot-forward 1:0.71-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 544 kB
  • sloc: ansic: 2,859; makefile: 321; sh: 131
file content (5 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (29)
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); }