|
Last change
on this file since 2442 was 2036, checked in by bird, 20 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
236 bytes
|
| Line | |
|---|
| 1 | #include <dlfcn.h>
|
|---|
| 2 |
|
|---|
| 3 | #define main array1_main
|
|---|
| 4 | #include "tst-array1.c"
|
|---|
| 5 | #undef main
|
|---|
| 6 |
|
|---|
| 7 | int
|
|---|
| 8 | main (void)
|
|---|
| 9 | {
|
|---|
| 10 | void *handle = dlopen ("tst-array2dep.so", RTLD_LAZY);
|
|---|
| 11 |
|
|---|
| 12 | array1_main ();
|
|---|
| 13 |
|
|---|
| 14 | if (handle != NULL)
|
|---|
| 15 | dlclose (handle);
|
|---|
| 16 |
|
|---|
| 17 | return 0;
|
|---|
| 18 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.