Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
dynload(3)		 BSD Library Functions Manual		    dynload(3)

NAME
     dynload --	encapsulates dynamic loading mechanisms	and gives access to
     functions in foreign dynamic libraries and	code modules.

SYNOPSIS
     #include <dynload.h>

     DLLib *
     dlLoadLibrary(const char *	libpath);

     void
     dlFreeLibrary(DLLib * pLib);

     void *
     dlFindSymbol(DLLib	pLibode, const char * pSymbolName);

DESCRIPTION
     The dynload library provides an interface to load foreign dynamic li-
     braries and access	to their symbols.

     dlLoadLibrary() loads a dynamic library at	libpath	and returns a handle
     to	it for use in dlFreeLibrary() and dlFindSymbol() calls.

     dlFreeLibrary() frees the loaded library with handle pLib.

     dlFindSymbol() returns a pointer to a symbol with name pSymbolName	in the
     library with handle pLib, or returns a null pointer if the	symbol cannot
     be	found.

SEE ALSO
     dyncall(3), dyncallback(3)	and the	dyncall	manual (available in PDF for-
     mat) for a	way more detailed documentation	of this	library.

AUTHORS
     Daniel Adler <dadler@uni-goettingen.de>
     Tassilo Philipp <tphilipp@potion-studios.com>

BSD				March 30, 2020				   BSD

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=dynload&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help