b9d147fb PS |
1 | #ifndef ENVIRONMENT_H |
2 | #define ENVIRONMENT_H |
3 | |
4 | #include "strvec.h" |
5 | |
6 | /* |
7 | * Wrapper of getenv() that returns a strdup value. This value is kept |
8 | * in argv to be freed later. |
9 | */ |
10 | const char *getenv_safe(struct strvec *argv, const char *name); |
11 | |
12 | #endif |