minit.h (338B)
1 #pragma once 2 3 #include <time.h> 4 5 #ifndef MINITROOT 6 #define MINITROOT "/etc/minit" 7 #endif 8 9 struct process { 10 char* name; 11 /* char **argv; */ 12 pid_t pid; 13 char respawn; 14 char circular; 15 time_t startedat; 16 int father; /* the service who started me or -1 if I was started directly */ 17 int __stdin, __stdout; 18 int logservice; 19 };