bactria  0.0.1
The bactria library is a header-only C++14 library for profiling and tracing.
POSIX.hpp File Reference

POSIX-specific internals. More...

#include <dlfcn.h>
#include <cstdio>
#include <cstdlib>
#include <stdexcept>
#include <string>
Include dependency graph for POSIX.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using bactria::system::plugin_handle_t = void *
 The POSIX-specific handle type. More...
 

Functions

auto bactria::system::open_plugin (const char *path)
 The POSIX-specific plugin loader. More...
 
template<typename Sig >
auto bactria::system::load_func (plugin_handle_t handle, Sig &ptr, const char *name)
 The POSIX-specific function loader. More...
 
auto bactria::system::close_plugin (plugin_handle_t handle) noexcept
 The POSIX-specific plugin unloader. More...
 

Detailed Description

POSIX-specific internals.

The functionality described here is part of bactria's internals. It should not be included directly by the user.