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
1 #ifndef __XERRNO_H\r
2 #define __XERRNO_H\r
3 \r
4 #include <com.h>\r
5 #include <errno.h>\r
6 \r
7 #ifdef __cplusplus\r
8 extern "C" {\r
9 #endif\r
10 \r
11 #define ECMDTIMEDOUT            ((int)102)      /* Command timed out                                                                                                            */\r
12 #define ECMDNOTFOUND            ((int)107)      /* the command is not found                                                                                                     */\r
13 #define EEXITCODENOTMATCH       ((int)108)      /* the exit codes don't match                                                                                           */\r
14 #define EOUTPUTNOTMATCH         ((int)109)      /* the outputs don't match                                                                                                      */\r
15 #define ESIGNOTMATCH            ((int)110)      /* the signals don't match                                                                                                      */\r
16 #define EUNXPSIG                        ((int)111)      /* Unexpected signal caught                                                                                                     */\r
17 #define ESIGNOTRECEIPT          ((int)112)      /* the expected signal is not receipt                                                                           */\r
18 #define EPROCCMDLINE            ((int)116)      /* this is an internal error : the process_command_line() function failed       */\r
19 #define ENOARG                          ((int)117)      /* a none optional argument is not specified in the command line                        */\r
20 #define ENOTPOSITIVENUM         ((int)118)      /* the argument of the option is not strictly positive                                          */\r
21 #define ESYNTAX                         ((int)119)      /* syntax error                                                                                                                         */\r
22 #define ELEADTIME                       ((int)123)      /* global timeout                                                                                                                       */\r
23 #define EREADMENOTFOUND         ((int)124)      /* unable to locate the README.txt file                                                                         */\r
24 #define EINCLUDENOTFOUND        ((int)125)      /* the include file specified by a metacommand is not found                                     */\r
25 #define ESUFFIXTOOLONG          ((int)126)      /* the suffix is too long                                                                                                       */\r
26 #define EINVCMDLINE                     ((int)139) /* invalid command line                                                                                                              */\r
27 \r
28 #ifndef EALREADY\r
29 #define EALREADY                        ((int)131)\r
30 #endif\r
31 \r
32 const char*\r
33 error_get_at(int pos, int* code);\r
34 \r
35 const char*\r
36 error_to_string(int errcode, int kind);\r
37 \r
38 #ifdef __cplusplus\r
39 }\r
40 #endif\r
41 \r
42 \r
43 #endif /* !__XERRNO_H */\r
44 \r