aboutsummaryrefslogtreecommitdiff
path: root/src/env/secure_getenv.c
blob: 55e0c8c0b6b9d079f35cd5cb1e6f18c4b27fa542 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define _GNU_SOURCE
#include <stdlib.h>
#include "libc.h"

char *secure_getenv(const char *name)
{
	return libc.secure ? NULL : getenv(name);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif