File: sig_pipe.c

package info (click to toggle)
publicfile 0.52-13
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 896 kB
  • sloc: ansic: 3,903; makefile: 468; sh: 296
file content (5 lines) | stat: -rw-r--r-- 147 bytes parent folder | download | duplicates (37)
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); }