容器化的无污染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
497 B

#ifndef PROCESS_H_
#define PROCESS_H_
#include <stdint.h>
typedef struct {
int pid; // process id
char *name; // caption
char **cmd; // process command
char **env; // environment variable
char *cwd; // working directory
} process;
void process_list_run();
void process_list_init();
void process_list_daemon();
void process_list_append(process *proc);
void process_add_arg(process *proc, const char *arg);
process* process_init(const char *caption, const char *bin);
#endif