repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.
[glibc.git]
/
stdlib
/
tst-putenv.c
blob
47513ea42b173169341c33b65fe4a67e780175c3
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
static int
5
do_test
(
void
)
6
{
7
char
*
p
=
getenv
(
"SOMETHING_NOBODY_USES"
);
8
if
(
p
==
NULL
)
9
{
10
puts
(
"envvar not defined"
);
11
return
1
;
12
}
13
14
return
0
;
15
}
16
17
#define TEST_FUNCTION do_test ()
18
#include
"../test-skeleton.c"