Unloads a library loaded with PR_LoadLibrary
.
#include <prlink.h> PRStatus PR_UnloadLibrary(PRLibrary *lib);
The function has this parameter:
lib
PR_LoadLibrary
.The function returns one of the following values:
PR_SUCCESS
.PR_FAILURE
. Use PR_GetError
to find the reason for the failure.This function undoes the effect of a PR_LoadLibrary
. After calling this function, future references to the library using its identity as returned by PR_LoadLibrary
will be invalid.