|
ginnOS
The reference: libc, the libraries and the kernel
|
loading shared libraries at run time. More...
Go to the source code of this file.
Macros | |
| #define | RTLD_LAZY 0x0001 |
| #define | RTLD_NOW 0x0002 |
| #define | RTLD_GLOBAL 0x0100 |
| #define | RTLD_LOCAL 0x0000 |
| #define | RTLD_NOLOAD 0x0004 |
| #define | RTLD_DEFAULT ((void *)0) |
Functions | |
| void * | dlopen (const char *file, int mode) |
| void * | dlsym (void *handle, const char *name) |
| int | dlclose (void *handle) |
| char * | dlerror (void) |
loading shared libraries at run time.
ginnOS programs are static and there is no dynamic loader yet: dlopen always fails, and dlerror says why. programs that can do without a library (SDL's optional parts) go on without it.
| #define RTLD_LAZY 0x0001 |
| #define RTLD_NOW 0x0002 |
| #define RTLD_GLOBAL 0x0100 |
| #define RTLD_LOCAL 0x0000 |
| #define RTLD_NOLOAD 0x0004 |
| #define RTLD_DEFAULT ((void *)0) |
| void * dlopen | ( | const char * | file, |
| int | mode ) |
| void * dlsym | ( | void * | handle, |
| const char * | name ) |
| int dlclose | ( | void * | handle | ) |
| char * dlerror | ( | void | ) |