swh:1:snp:6df5a50b8107b6bbe1e51d0239d816a7503c536a
Raw File
Tip revision: 4c53a8c20f8984adb226293a3ffd7b88c3f4ac1a authored by Junio C Hamano on 29 January 2022, 00:48:42 UTC
Git 2.35.1
Tip revision: 4c53a8c
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