Split processctl() syscall into multiple smaller ones

This commit is contained in:
2025-10-14 16:37:36 +02:00
parent 8aec45316c
commit c34a253d11
22 changed files with 359 additions and 236 deletions

15
share/sysdefs/proc.h Normal file
View 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_