X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdlib%2Fabort.c;h=1665706c391ee04fdbfe3b48bd09473f5ebc0765;hp=61d3a0139b9b2ccbbc2227e70c3f56d601b74cc6;hb=1d9d92ba957a0b8307c9a65c35867fde68e6533b;hpb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec diff --git a/functions/stdlib/abort.c b/functions/stdlib/abort.c index 61d3a01..1665706 100644 --- a/functions/stdlib/abort.c +++ b/functions/stdlib/abort.c @@ -1,8 +1,15 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- +/* ---------------------------------------------------------------------------- + * $Id$ + * ---------------------------------------------------------------------------- + * Public Domain C Library - http://pdclib.sourceforge.net + * This code is Public Domain. Use, modify, and redistribute at will. + * --------------------------------------------------------------------------*/ void abort( void ) { /* TODO */ }; + +/* PDPC code - unreviewed +{ + raise(SIGABRT); + exit(EXIT_FAILURE); +} +*/