mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +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
|