1 /* vi: set sw=4 ts=4: */
3 * Copyright (C) 2000-2005 by Erik Andersen <andersen@codepoet.org>
5 * GNU Lesser General Public License version 2.1 or later.
8 /* User functions for run-time dynamic loading. libdl version */
13 #include <bits/dlfcn.h>
15 #define RTLD_NEXT ((void *) -1l)
16 #define RTLD_DEFAULT ((void *) 0)
18 /* Structure containing information about object searched using
22 __const char *dli_fname; /* File name of defining object. */
23 void *dli_fbase; /* Load address of that object. */
24 __const char *dli_sname; /* Name of nearest symbol. */
25 void *dli_saddr; /* Exact value of nearest symbol. */