Staging
v0.5.1
swh:1:snp:c5feb7ee9221a3820c8879e85e8a18470c0b3afa
Raw File
Tip revision: a5828ae6b52137b913b978e16cd2334482eb4c1f authored by Junio C Hamano on 15 March 2021, 18:51:51 UTC
Git 2.31
Tip revision: a5828ae
environment.h
#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
back to top