ldr_remove(3) — Subroutines
OSF
NAME
ldr_remove − Removes an installed module from the private known package table
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <loader.h>
int ldr_remove(
const char ∗mod_name);
PARAMETERS
mod_namePoints to the name of the module to be removed from known package table.
DESCRIPTION
The ldr_remove() function removes a specified module from the current process’ private known package table. This module must have been previously installed in the private known package table with the ldr_install() function, or have been inherited as loaded in the private known package table from its parent process.
RETURN VALUES
Upon successful completion, the ldr_remove() function returns 0 (zero). Otherwise, a negative value is returned and errno is set to indicate the error.
ERRORS
If the ldr_remove() function fails, errno may be set to the following value:
[EINVAL]The module was not found in the process’ private known package table.
RELATED INFORMATION
Functions: ldr_install(3), load(3)