*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> libdl/sgidlopen_version (3)              




NAME    [Toc]    [Back]

     sgidlopen_version - open a	shared object with the specified interface

SYNOPSIS    [Toc]    [Back]

     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    [Toc]    [Back]

     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

     sgidlopen_version is available in a library which is loaded if the	option
     -lc is used with cc , f77 , or ld.

SEE ALSO    [Toc]    [Back]

     dlopensgidladd(3), ld(1), dso(5).

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
sgigetdsoversion IRIX gets the interface version of a shared object
shm_open FreeBSD open or create a shared memory object shm_unlink -- remove a shared memory object
dlopen IRIX open a shared object
sgidladd IRIX open a shared object and add its variables to the name space.
shm_open HP-UX create/open a shared memory object
shm_open Tru64 Opens a shared memory object, creating the object if necessary (P1003.1b)
dso IRIX Dynamic Shared Object (DSO)
dlclose IRIX close a shared object
shm_unlink HP-UX unlink a shared memory object
dlsym IRIX get the address of a symbol in shared object
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service