Split processctl() syscall into multiple smaller ones
This commit is contained in:
15
share/sysdefs/proc.h
Normal file
15
share/sysdefs/proc.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef SHARE_SYSDEFS_PROC_H_
|
||||
#define SHARE_SYSDEFS_PROC_H_
|
||||
|
||||
#define PROC_ARG_MAX 128
|
||||
|
||||
typedef struct {
|
||||
uint64_t pid;
|
||||
char name[0x100];
|
||||
uint8_t state;
|
||||
size_t usemem;
|
||||
} ProcStat;
|
||||
|
||||
typedef uint64_t PID_t;
|
||||
|
||||
#endif // SHARE_SYSDEFS_PROC_H_
|
||||
Reference in New Issue
Block a user