容器化的无污染DNS服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
437 B

#ifndef PROCESS_H_
#define PROCESS_H_
typedef struct {
char *name;
char **cmd;
char **env;
char *cwd;
int8_t is_group; // bool value
} process;
void process_list_run();
void process_list_init();
void process_list_append(process *proc);
void process_add_arg(process *proc, const char *arg);
process* process_init(const char *caption, const char *bin);
#include <unistd.h>
pid_t process_exec(process *proc);
#endif