ClickHouse/base/glibc-compatibility/musl/secure_getenv.c

9 lines
162 B
C
Raw Normal View History

#define _GNU_SOURCE
#include <stdlib.h>
#include <sys/auxv.h>
char * secure_getenv(const char * name)
{
return getauxval(AT_SECURE) ? NULL : getenv(name);
}