Back to index

glibc  2.9
Defines | Functions | Variables
tst-cleanup0.c File Reference
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../test-skeleton.c"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define TEST_FUNCTION   do_test ()


static void ch (void *arg)
static void endfct (void)
static int do_test (void)


static int global

Define Documentation


Definition at line 74 of file tst-cleanup0.c.

#define TEST_FUNCTION   do_test ()

Definition at line 75 of file tst-cleanup0.c.

Function Documentation

static void ch ( void *  arg) [static]

Definition at line 30 of file tst-cleanup0.c.

  int val = (long int) arg;

  printf ("ch (%d)\n", val);

  global *= val;
  global += val;

Here is the call graph for this function:

static int do_test ( void  ) [static]

Definition at line 50 of file tst-cleanup0.c.

Here is the call graph for this function:

static void endfct ( void  ) [static]

Definition at line 42 of file tst-cleanup0.c.

  /* We force exit right here.  */
  _exit (global);

Here is the caller graph for this function:

Variable Documentation

int global [static]

Definition at line 26 of file tst-cleanup0.c.