string-list.[ch]: add a string_list_init_{nodup,dup}()
[git.git] / environment.h
blobd438b5c8f3a62226a3a1cc32bb9ab9d9def25a4e
1 #ifndef ENVIRONMENT_H
2 #define ENVIRONMENT_H
4 #include "strvec.h"
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);
12 #endif