123456789101112131415161718192021222324252627282930313233 |
- Const
- RTLD_NEXT = Pointer(-1);
- RTLD_DEFAULT = nil;
- function dlopen(__file:Pchar; __mode:longint):pointer;cdecl;external dllib name 'dlopen';
- function dlclose(__handle:pointer):longint;cdecl;external dllib name 'dlclose';
- function dlsym(__handle:pointer; __name:Pchar):pointer;cdecl;external dllib name 'dlsym';
- function dlvsym(__handle:pointer; __name:Pchar; __version:Pchar):pointer;cdecl;external dllib name 'dlvsym';
- function dlerror:Pchar;cdecl;external clib name 'dlerror';
- type
- PDl_info = ^Dl_info;
- Dl_info = record
- dli_fname : Pchar;
- dli_fbase : pointer;
- dli_sname : Pchar;
- dli_saddr : pointer;
- end;
- function dladdr(__address:pointer; __info:PDl_info):longint;cdecl;external dllib name 'dladdr';
- { ---------------------------------------------------------------------
- Borland compatibility types
- ---------------------------------------------------------------------}
- Type
- TDLInfo = Dl_info;
- PDLInfo = ^TDLInfo;
- function dladdr(__address:pointer; var __info: Dl_info):longint;cdecl;external dllib name 'dladdr';
|