Back to index

glibc  2.9
Defines | Functions
tst-putenv.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "../test-skeleton.c"

Go to the source code of this file.


#define TEST_FUNCTION   do_test ()


static int do_test (void)

Define Documentation

#define TEST_FUNCTION   do_test ()

Definition at line 17 of file tst-putenv.c.

Function Documentation

static int do_test ( void  ) [static]

Definition at line 5 of file tst-putenv.c.

  char *p = getenv ("SOMETHING_NOBODY_USES");
  if (p == NULL)
      puts ("envvar not defined");
      return 1;

  return 0;

Here is the call graph for this function: