delorie.com/djgpp/doc/libc/libc_158.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dlfcn.h> void *dlsym (void *handle, const char *symbol_name); |
This function get the address of a symbol defined in a shared loadable image.
The handle argument is the value returned from a call to
dlopen
, or the special value RTLD_DEFAULT
which will
search all symbols in the global scope.
The symbol_name is the assembler name, not the C name. For DJGPP/COFF prepend an underscore in front.
Returns NULL
on failure, pointer to requested symbol on success.
ANSI/ISO C | No |
POSIX | 1003.1-2001; not 1003.2-1992 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |