Revision 11d4c8b350bbc17ad54e293ef427ed5390712eb2 authored by Dimitriy Ryazantcev on 20 June 2022, 13:02:39 UTC, committed by Jiang Xin on 26 June 2022, 12:32:33 UTC
Signed-off-by: Dimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com>
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
1 parent e7022fc
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