mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Added dlclose(), dlerror(), dlopen() and dlsym() functions, which are
available only under OS4. There is a variant of dlopen() in libunix.a which will perform a path name conversion. Note that these functions will not work in the thread-safe variant of the library because it would be unwise to tinker with the currently running program's binary. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15207 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: dlfcn.h,v 1.1 2010-08-21 10:59:34 obarthel Exp $
|
||||
* $Id: dlfcn.h,v 1.2 2010-08-21 11:37:03 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -59,10 +59,11 @@ extern "C" {
|
||||
/****************************************************************************/
|
||||
|
||||
/* We only support a subset of the flags available on Unix systems. */
|
||||
#define RTLD_LAZY 0
|
||||
#define RTLD_NOW 0
|
||||
#define RTLD_LOCAL 4
|
||||
#define RTLD_GLOBAL 8
|
||||
#define RTLD_LAZY 1
|
||||
#define RTLD_NOW 2
|
||||
#define RTLD_LOCAL 4
|
||||
#define RTLD_GLOBAL 8
|
||||
#define RTLD_DEFAULT ((void *)0)
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user