<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">Ewald,<br>
<br>
Please kindly share your sample codes for both approaches.<br>
Thanks a lot.<br>
<br>
Dennis<br>
</font><br>
Ewald wrote:
<blockquote
cite="mid:D16B2FFF-7E69-4137-AE22-4F54834E30FB@yellowcouch.org"
type="cite"><br>
<div>
<div>On 31 May 2013, at 13:31, Dennis wrote:</div>
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"><br>
<font class="Apple-style-span" size="4">Is there something I can do
to trap this external SIGPIPE? </font><br>
</div>
</blockquote>
<div><br>
</div>
<div>You might try catching the signal using fpSignal (<a
moz-do-not-send="true"
href="http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html%20and%20http://unixhelp.ed.ac.uk/CGI/man-cgi?signal+2">http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html
and http://unixhelp.ed.ac.uk/CGI/man-cgi?signal+2</a>) . I can send
some example code if you want.</div>
<div><br>
</div>
<div>Or you could perhaps block this signal using pthread_sigmask (<a
moz-do-not-send="true"
href="http://man7.org/linux/man-pages/man3/pthread_sigmask.3.html">http://man7.org/linux/man-pages/man3/pthread_sigmask.3.html</a>).
I believe I have some example code of this too.</div>
</div>
<br>
<div><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
<div style="word-wrap: break-word;"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="word-wrap: break-word;">
<div
style="font-size: medium; color: rgb(0, 0, 0); font-style: normal;">--</div>
<div
style="font-size: medium; color: rgb(0, 0, 0); font-style: normal;">Ewald</div>
</div>
</span></div>
</span></div>
</span></div>
</span></span></div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<p class="" avgcert="" color="#000000" align="left">No virus found in
this message.<br>
Checked by AVG - <a moz-do-not-send="true" href="http://www.avg.com">www.avg.com</a><br>
Version: 2013.0.3343 / Virus Database: 3184/6370 - Release Date:
05/30/13</p>
</blockquote>
</body>
</html>