next up previous contents index
Next: 21.1.2 dlopen: Load a Up: 21.1 Introduction Previous: 21.1 Introduction

21.1.1 oskit_boot_rtld: Initialize the RTLD library

 

SYNOPSIS

#include <dlfnc.h>

int oskit_boot_rtld(char *aoutname);

DESCRIPTION

Initialize the runtime loader library, allowing shared libraries to be loaded. The initialization routine takes an optional pathname, which is the location of the OSKit executable image. If the kernel was loaded with netboot (see section 41), or any other loader that loads all of the ``loadable'' sections of an ELF binary, the kernel image is not required since all of the necessary information is already available. Otherwise, the path of the OSKit kernel image must be specified. The initialization function will interpret the dynamic symbol table information, and create the necessary data structures to allow Shared libraries to be loaded and linked against the OSKit kernel.

PARAMETERS

aoutname
Pathname to the oskit kernel image.

RETURNS

Returns 0 on success.



Utah Flux Research Group