X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=internals%2F_PDCLIB_config.h;h=753080ba25cee8780f50c90f8d59f0cd9c0ac56d;hp=5e22b527478bbe20d4fc9f2501b450497b3afbb3;hb=6da00d2f9ead7e732007fef0ae46c45523059f2d;hpb=3c50a3f497bc07f023be71045f5792e0d82c951f diff --git a/internals/_PDCLIB_config.h b/internals/_PDCLIB_config.h index 5e22b52..753080b 100644 --- a/internals/_PDCLIB_config.h +++ b/internals/_PDCLIB_config.h @@ -16,6 +16,13 @@ /* The character (sequence) your platform uses as newline. */ #define _PDCLIB_endl "\n" +/* exit() can signal success to the host environment by the value of zero or */ +/* the constant EXIT_SUCCESS. Failure is signaled by EXIT_FAILURE. Note that */ +/* any other return value is "implementation-defined", i.e. your environment */ +/* is not required to handle it gracefully. Set your definitions here. */ +#define _PDCLIB_SUCCESS 0 +#define _PDCLIB_FAILURE -1 + /* -------------------------------------------------------------------------- */ /* Integers */ /* -------------------------------------------------------------------------- */