[fpc-pascal]General error trapping
Michael.VanCanneyt at Wisa.be
Michael.VanCanneyt at Wisa.be
Wed Dec 20 00:20:23 CET 2000
On Tue, 19 Dec 2000 BigMatt19 at aol.com wrote:
> Hello all,
> I am not totally familiar with how to go about error trapping in a Linux
> envrironment. Right now I am trying to trap a "broken pipe" error. I am
> assuming that this error would be written to linuxerror, but what directive
> do I put a + sign to that will stop the program from crashing? Also, if
> there is a general tutorial online about this sort of thing it would be
> really cool if I could check that out.
There is no general tutorial; the broken pipe error is a signal as far as I
know (SIG_PIPE) . You must install a signal handler for this if you want to
catch it.
Michael.
More information about the fpc-pascal
mailing list