Revision cc7d11c16782041a6bb73e2fb56417b7d4c6d186 authored by Junio C Hamano on 30 May 2024, 23:52:52 UTC, committed by Junio C Hamano on 30 May 2024, 23:52:52 UTC
1 parent 7eb9152
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