• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SIGPIPE and SIG_IGN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: SIGPIPE and SIG_IGN
      • From: Glenn Anderson <email@hidden>
  • Prev by Date: Re: Task emulation vectors
  • Next by Date: Re: SIGPIPE and SIG_IGN
  • Previous by thread: Re: Task emulation vectors
  • Next by thread: Re: SIGPIPE and SIG_IGN
  • Index(es):
    • Date
    • Thread