[fpc-pascal] How to handle External:SIGPIPE on linux
dennis at avidsoft.com.hk
Sat Jun 1 08:51:14 CEST 2013
Please kindly share your sample codes for both approaches.
Thanks a lot.
> On 31 May 2013, at 13:31, Dennis wrote:
>> Is there something I can do to trap this external SIGPIPE?
> You might try catching the signal using fpSignal
> (http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html and
> . I can send some example code if you want.
> Or you could perhaps block this signal using pthread_sigmask
> (http://man7.org/linux/man-pages/man3/pthread_sigmask.3.html). I
> believe I have some example code of this too.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2013.0.3343 / Virus Database: 3184/6370 - Release Date: 05/30/13
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal