Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
source code to manage the Windows Unix and Mac file formats.
[simgrid.git] / tools / tesh2 / include / xerrno.h
index a6c32f2..ef4f8fe 100644 (file)
@@ -9,30 +9,20 @@ extern "C" {
 #endif\r
 \r
 #define ECMDTIMEDOUT           ((int)102)      /* Command timed out                                                                                                            */\r
-#define EEXEC                          ((int)105)      /* can't execute the command                                                                                            */\r
-#define EWAIT                          ((int)106)      /* the wait function failed                                                                                                     */\r
 #define ECMDNOTFOUND           ((int)107)      /* the command is not found                                                                                                     */\r
 #define EEXITCODENOTMATCH      ((int)108)      /* the exit codes don't match                                                                                           */\r
 #define EOUTPUTNOTMATCH                ((int)109)      /* the outputs don't match                                                                                                      */\r
 #define ESIGNOTMATCH           ((int)110)      /* the signals don't match                                                                                                      */\r
 #define EUNXPSIG                       ((int)111)      /* Unexpected signal caught                                                                                                     */\r
 #define ESIGNOTRECEIPT         ((int)112)      /* the expected signal is not receipt                                                                           */\r
-#define EFILENOTFOUND          ((int)113)      /* the specified tesh file is not found                                                                         */\r
-#define EGETCWD                                ((int)114)      /* this is a system error : the getcwd() function failed (impossible)           */\r
-#define EDIRNOTFOUND           ((int)115)      /* the specified directory is not found                                                                         */\r
 #define EPROCCMDLINE           ((int)116)      /* this is an internal error : the process_command_line() function failed       */\r
 #define ENOARG                         ((int)117)      /* a none optional argument is not specified in the command line                        */\r
 #define ENOTPOSITIVENUM                ((int)118)      /* the argument of the option is not strictly positive                                          */\r
 #define ESYNTAX                                ((int)119)      /* syntax error                                                                                                                         */\r
-#define EINVALIDTIMEOUT                ((int)120)      /* the timeout value specified by the metacommand is invalid                            */\r
-#define EINVALIDEXITCODE       ((int)121)      /* the expected exit code value specified by the metacommand is invalid         */\r
-#define ESIGNOTSUPP                    ((int)122)      /* the signal specified by the metacommand is not supported                                     */\r
 #define ELEADTIME                      ((int)123)      /* global timeout                                                                                                                       */\r
 #define EREADMENOTFOUND                ((int)124)      /* unable to locate the README.txt file                                                                         */\r
 #define EINCLUDENOTFOUND       ((int)125)      /* the include file specified by a metacommand is not found                                     */\r
 #define ESUFFIXTOOLONG         ((int)126)      /* the suffix is too long                                                                                                       */\r
-#define EFILENOTINSPECDIR      ((int)127) /* file not found in the specified directories                                                               */\r
-#define EFILENOTINCURDIR       ((int)128) /* file not found in the current directory                                                                   */\r
 #define EINVCMDLINE                    ((int)139) /* invalid command line                                                                                                              */\r
 \r
 #ifndef EALREADY\r
@@ -43,10 +33,7 @@ const char*
 error_get_at(int pos, int* code);\r
 \r
 const char*\r
-error_to_string(int errcode);\r
-\r
-void\r
-error_register(const char* reason, int errcode, const char* command, const char* unit);\r
+error_to_string(int errcode, int kind);\r
 \r
 #ifdef __cplusplus\r
 }\r