comp.lang.ada
 help / color / mirror / Atom feed
* GNAT: Setting SIGPIPE to SIG_IGN
@ 2002-08-31  9:36 Florian Weimer
  2002-08-31 21:13 ` Warren W. Gay VE3WWG
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Weimer @ 2002-08-31  9:36 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-02 22:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-31  9:36 GNAT: Setting SIGPIPE to SIG_IGN Florian Weimer
2002-08-31 21:13 ` 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

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