16 lines
409 B
C
16 lines
409 B
C
// nt-lite dynamic-loader POSIX extension declarations.
|
|
|
|
#pragma once
|
|
|
|
#include <ntlite_posix_api.h>
|
|
|
|
#define RTLD_LAZY 0x0001
|
|
#define RTLD_NOW 0x0002
|
|
#define RTLD_LOCAL 0x0004
|
|
#define RTLD_GLOBAL 0x0008
|
|
|
|
NTL_POSIX_API void* dlopen(const char* filename, int flags);
|
|
NTL_POSIX_API void* dlsym(void* handle, const char* symbol);
|
|
NTL_POSIX_API int dlclose(void* handle);
|
|
NTL_POSIX_API char* dlerror(void);
|