Scroll to navigation

dl.c(3elektra) Elektra dl.c(3elektra)

NAME

dl.c - Loading modules under linux.

SYNOPSIS

#include <kdbconfig.h>
#include <dlfcn.h>
#include <kdberrors.h>
#include <kdbmodule.h>
#include <stdlib.h>
#include <string.h>

Detailed Description

Loading modules under linux.

Copyright:

BSD License (see LICENSE.md or https://www.libelektra.org)

The name of the module will be libname. A .so will be appended. This file will be loaded.

The path were the plugins are located, e.g. /usr/src/elektra need to be added with LD_LIBRARY_PATH.

The reason is that only LD_LIBRARY_PATH also loads libraries which are seen by symlink only. That feature is needed for libelektra-default.

The buildsystem makes sure that dlfcn.h exists.

Author

Generated automatically by Doxygen for Elektra from the source code.

Mon Jan 15 2018 Version 0.8.20