Test: add UST dl helper test
[lttng-tools.git] / tests / regression / ust / ust-dl / prog.c
CommitLineData
c70c42cc
AB
1#include <dlfcn.h>
2
3int main()
4{
5 void *handle;
6 int (*foo)();
7
8 handle = dlopen("libfoo.so", RTLD_LAZY);
9 foo = dlsym(handle, "foo");
10
11 (*foo)();
12
13 dlclose(handle);
14
15 return 0;
16}
This page took 0.023083 seconds and 4 git commands to generate.