The document said it is "deprecated"? Also, I want this to be cross platform, not for unix only. The use case is:
try buf := GetMemory(1024); size := 10240; stream.Read(buf^, size); except ?? end; 2013/3/14 Ewald <ew...@yellowcouch.org> > Once upon a time, Xiangrong Fang said: > > Is it possible to use try...except to catch SIGSEGV? > I don't know if it is possible, but how about using fpSignal()? See > http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html > > -- > Ewald > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal