comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: GNAT: Setting SIGPIPE to SIG_IGN
Date: Sat, 31 Aug 2002 11:36:04 +0200
Date: 2002-08-31T09:36:00+00:00	[thread overview]
Message-ID: <87ofbj5q0r.fsf@deneb.enyo.de> (raw)

I want to instruct the GNAT run-time library that it sets the SIGPIPE
handler to SIG_IGN, so that system calls such as read() return EPIPE
instead of delivering a signal.

This might sound like a silly question (I can write the necessary call
to signal(2) myself), but I don't want to work around the GNAT
run-time library.  Any suggestions?  The RM interfaces do not appear
to be helpful here because I think that if no handler is attached, the
default handler is invoked, which is not what I want.



             reply	other threads:[~2002-08-31  9:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-31  9:36 Florian Weimer [this message]
2002-08-31 21:13 ` GNAT: Setting SIGPIPE to SIG_IGN Warren W. Gay VE3WWG
2002-09-01  0:20   ` Darren New
2002-09-01 10:16   ` Florian Weimer
2002-09-02  2:27     ` Warren W. Gay VE3WWG
2002-09-02 22:39       ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox