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
Optimizations from GMP.
[glibc.git]
/
stdlib
/
tst-putenvmod.c
blob
7c0c337d3f163a4d4e547f63b105c514c3956032
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <unistd.h>
4
5
void
6
__attribute
((
constructor
))
7
init
(
void
)
8
{
9
puts
(
"init DSO"
);
10
11
static char
str
[] =
"SOMETHING_NOBODY_USES=something_else"
;
12
if
(
putenv
(
str
) !=
0
)
13
{
14
puts
(
"putenv failed"
);
15
_exit
(
1
);
16
}
17
}