Restore environment from parent for external processes

This commit is contained in:
Pablo Marcos Oltra 2018-01-11 13:17:08 +01:00
parent 5f97d55211
commit 6059df77c3
7 changed files with 280 additions and 292 deletions

9
env.h Executable file
View file

@ -0,0 +1,9 @@
#ifndef ENV_H
#define END_H
#include <unistd.h>
char* const* read_parent_env();
void env_free(char* const *env);
#endif