mirror of
https://github.com/git/git.git
synced 2024-12-04 07:24:41 +08: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
|