sgidlopen_version(3C)
sgidlopen_version - open a shared object with the specified interface version.
Showing IRIX 6.5. First release of IRIX 6.5.
NAME sgidlopen_version - open a shared object with the specified interface version. SYNOPSIS cc [flag ...] file ... -lc [library ...] #include <elf.h> #include <dlfcn.h> void *sgidlopen_version(const char *pathname, int mode, const char *version, int flags); DESCRIPTION sgidlopen_version is a facility for dynamically loading shared objects similar to dlopen (3). However, unlike dlopen, the interface version of the shared object is specified so that the dynamic linker tries to map in the shared object with matching interface version. Please See ld(1) and dso(5) "How are multiple versions of DSOs supported?" for information on the version string. flags must be either LL_NONE or LL_EXACT_MATCH. LL_EXACT_MATCH means that only the exact version mentioned in version will be accepted. LL_NONE means that the exact version should be used if present, but other (higher number) versions should be accepted. Aside from the restriction to a particular shared object version the effect of sgidlopen_version is identical to that of dlopen. Please see dlopen for the discussion of pathname, mode, and the function return value. sgidlopen_version is available in a library which is loaded if the option -lc is used with cc , f77 , or ld. SEE ALSO dlopen(3) dlerror(3), dlclose(3), dlsym(3), sgigetdsoversion(3), sgidladd(3), ld(1), dso(5).