From 1936224ae43f74fabc78dc44bd28caa07f994b2b Mon Sep 17 00:00:00 2001 From: solar Date: Thu, 15 Dec 2005 12:30:31 +0000 Subject: [PATCH] Added exit return codes. git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@100 546481bc-9713-0410-bf18-d3337bbf4a3e --- internals/_PDCLIB_config.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 */ /* -------------------------------------------------------------------------- */ -- 2.47.2