You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
186 B
C
12 lines
186 B
C
21 years ago
|
#include "io_internal.h"
|
||
|
#include <sys/types.h>
|
||
|
#include <signal.h>
|
||
|
|
||
|
void io_sigpipe(void) {
|
||
|
static int isitdone;
|
||
|
if (!isitdone) {
|
||
|
signal(SIGPIPE,SIG_IGN);
|
||
|
isitdone=1;
|
||
|
}
|
||
|
}
|