SIGPIPE and SIG_IGN
SIGPIPE and SIG_IGN
- Subject: SIGPIPE and SIG_IGN
- From: email@hidden
- Date: Mon, 18 Jun 2007 16:09:19 -0700
Hello, all ...
In my adventures of making our app also work on Mac OSX (10.4.9,
Intel and PPC), i've discovered that I occasionally get SIGPIPE
signals. This would be fine, except that I specifically ignore them
like this:
// set up our signal handlers
signal( SIGINT, signal_handler );
signal( SIGTERM, signal_handler );
#ifndef WIN32
signal( SIGPIPE, SIG_IGN );
#endif
... so my question is: why do I still get SIGPIPE signals, which make
my program go boom? What else do I need to do such that SIGPIPE is
actually ignored? I don't _always_ get them, but they come up often
enough to be a problem.
Regards,
John
Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden