mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +00:00
13 lines
246 B
C
13 lines
246 B
C
|
#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
|