Back to index

glibc  2.9
Defines | Functions
tst-dlmopen3.c File Reference
#include <dlfcn.h>
#include <stdio.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 21 of file tst-dlmopen3.c.

Function Documentation

static int do_test ( void  ) [static]

Definition at line 6 of file tst-dlmopen3.c.

  void *h = dlmopen (LM_ID_NEWLM, "$ORIGIN/", RTLD_LAZY);
  if (h == NULL)
      printf ("cannot get handle for %s: %s\n",
             "", dlerror ());
      return 1;

  /* Do not unload.  */

  return 0;

Here is the call graph for this function: