Sign in
third-party-mirror
/
GRTEv5
/
d2943659cb64732d11d79391bcb1157f5e527e8a
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
stdlib
/
tst-putenv.c
blob: 47513ea42b173169341c33b65fe4a67e780175c3 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
static
int
do_test
(
void
)
{
char
*
p
=
getenv
(
"SOMETHING_NOBODY_USES"
);
if
(
p
==
NULL
)
{
puts
(
"envvar not defined"
);
return
1
;
}
return
0
;
}
#define
TEST_FUNCTION do_test
()
#include
"../test-skeleton.c"