Staging
v0.5.1
swh:1:snp:c5feb7ee9221a3820c8879e85e8a18470c0b3afa
Raw File
Tip revision: af6d1d602a8f64164b266364339c4e936d5bbc33 authored by Junio C Hamano on 12 October 2021, 20:51:59 UTC
Git 2.33.1
Tip revision: af6d1d6
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