Handle process arguments

This commit is contained in:
2025-09-10 23:25:03 +02:00
parent 2f9f4d9397
commit dc3d80d707
13 changed files with 127 additions and 23 deletions

View File

@ -1,12 +1,16 @@
#ifndef SHARE_HDRS_PROCESSCTL_H_
#define SHARE_HDRS_PROCESSCTL_H_
#define PROC_ARG_MAX 0x400
enum {
PCTL_KILL = 0,
PCTL_SPAWN = 1,
PCTL_POLLSTATE = 2,
PCTL_RUN = 3,
PCTL_GETPID = 4,
PCTL_ARGLEN = 5,
PCTL_ARGV = 6,
};
#endif // SHARE_HDRS_PROCESSCTL_H_