diff options
Diffstat (limited to 'judge/judgx_com.h')
-rw-r--r-- | judge/judgx_com.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/judge/judgx_com.h b/judge/judgx_com.h deleted file mode 100644 index 80efc12..0000000 --- a/judge/judgx_com.h +++ /dev/null @@ -1,19 +0,0 @@ -#define IOCTL_PROC_ADD _IOWR('x',0x0,int) -#define IOCTL_PROC_GET _IOWR('x',0x1,int) -#define IOCTL_PROC_KILL _IOR('x',0x2,int) -#define IOCTL_PROC_DEL _IOR('x',0x3,int) - -struct judgx_com_proc_add{ - char run_path[PATH_MAX + 1]; - unsigned long pid; - unsigned long task; - unsigned long timelimit; - unsigned long hardtimelimit; - unsigned long memlimit; -}; -struct judgx_com_proc_get{ - unsigned long task; - int status; - unsigned long runtime; - unsigned long peakmem; -}; |