File: tst-array4.c

package info (click to toggle)
eglibc 2.11.3-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 140,396 kB
  • ctags: 119,927
  • sloc: ansic: 909,722; asm: 178,348; sh: 8,983; makefile: 7,625; perl: 2,221; awk: 1,728; cpp: 1,278; pascal: 715; yacc: 317; sed: 131
file content (18 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (42)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <dlfcn.h>

#define main array1_main
#include "tst-array1.c"
#undef main

int
main (void)
{
  void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);

  array1_main ();

  if (handle != NULL)
    dlclose (handle);

  return 0;
}