Back to index

glibc  2.9
Functions
tst-fini1.c File Reference
#include <unistd.h>

Go to the source code of this file.

Functions

void m (void)
int main (void)

Function Documentation

void m ( void  )

Definition at line 65 of file tst-fini1mod.c.

{
  if (pthread_create (&th, NULL, tf, NULL) != 0)
    {
      puts ("create failed");
      _exit (1);
    }
}

Here is the call graph for this function:

int main ( void  )

Definition at line 25 of file tst-fini1.c.

{
  alarm (5);

  m ();

  /* The destructor is supposed to run now.  Make sure that if it is
     not we will notice it by using 42 as the exit code.  In case the
     destructor is run it will terminate with status zero.  */
  return 42;
}

Here is the call graph for this function: