fix return value

This commit is contained in:
virusdefender 2016-01-16 01:39:46 +08:00
parent 7017b1838a
commit c979cd8e22

View File

@ -14,13 +14,13 @@
#define SUCCESS 0 #define SUCCESS 0
#define FORK_FAILED -1 #define FORK_FAILED 1
#define WAIT4_FAILED -2 #define WAIT4_FAILED 2
#define RUN_FAILED -3 #define RUN_FAILED 3
#define SETITIMER_FAILED -4 #define SETITIMER_FAILED 4
#define SETRLIMIT_FAILED -5 #define SETRLIMIT_FAILED 5
#define DUP2_FAILED -6 #define DUP2_FAILED 6
#define EXCEVE_FAILED -7 #define EXCEVE_FAILED 7
#define CPU_TIME_LIMIT_EXCEEDED 1 #define CPU_TIME_LIMIT_EXCEEDED 1
#define REAL_TIME_LIMIT_EXCEEDED 2 #define REAL_TIME_LIMIT_EXCEEDED 2