Permalink
Cannot retrieve contributors at this time
12 lines (9 sloc)
246 Bytes
#ifndef ENVIRONMENT_H | |
#define ENVIRONMENT_H | |
#include "strvec.h" | |
/* | |
* Wrapper of getenv() that returns a strdup value. This value is kept | |
* in argv to be freed later. | |
*/ | |
const char *getenv_safe(struct strvec *argv, const char *name); | |
#endif |