Back to index

glibc  2.9
tst-putenv.c
Go to the documentation of this file.
00001 #include <stdio.h>
00002 #include <stdlib.h>
00003 
00004 static int
00005 do_test (void)
00006 {
00007   char *p = getenv ("SOMETHING_NOBODY_USES");
00008   if (p == NULL)
00009     {
00010       puts ("envvar not defined");
00011       return 1;
00012     }
00013 
00014   return 0;
00015 }
00016 
00017 #define TEST_FUNCTION do_test ()
00018 #include "../test-skeleton.c"