This website works better with JavaScript.
Home
Help
Register
Sign In
mirrors
/
libowfat
mirror of
/home/gitosis/repositories/libowfat.git
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
add sigpipe helper
master
Felix von Leitner
17 years ago
parent
5617c437b8
commit
654075d0eb
1 changed files
with
11 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
io/io_sigpipe.c
+ 11
- 0
io/io_sigpipe.c
View File
@ -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
;
}
}
Write
Preview
Loading…
Cancel
Save