Staging
v0.5.1
Revision 4e42405f00ecbbee412846f48cb0253efeebe726 authored by Junio C Hamano on 28 May 2021, 04:05:29 UTC, committed by Junio C Hamano on 28 May 2021, 04:05:29 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 329d63e
Raw File
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