Sign in
third-party-mirror
/
GRTEv4
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
stdlib
/
tst-putenvmod.c
blob: 7c0c337d3f163a4d4e547f63b105c514c3956032 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
void
__attribute
((
constructor
))
init
(
void
)
{
puts
(
"init DSO"
);
static
char
str
[]
=
"SOMETHING_NOBODY_USES=something_else"
;
if
(
putenv
(
str
)
!=
0
)
{
puts
(
"putenv failed"
);
_exit
(
1
);
}
}