mirror of /home/gitosis/repositories/libowfat.git
add sigpipe helper
parent
5617c437b8
commit
654075d0eb
|
@ -0,0 +1,11 @@
|
|||
#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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue