Logo AND Algorithmique Numérique Distribuée

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