tclLoadAix.c File Reference

#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/ldr.h>
#include <a.out.h>
#include <ldfcn.h>
#include "../compat/dlfcn.h"

Go to the source code of this file.

Data Structures

struct  Export
struct  Cdtor
struct  Module

Defines

#define Error(msg)   do{errMsg=(msg);goto error;}while(0)
#define SysErr()   Error(strerror(errno))

Typedefs

typedef struct ExportExportPtr
typedef struct CdtorCdtorPtr
typedef ModuleModulePtr

Functions

void * dlopen (const char *path, int mode)
void * dlsym (void *handle, const char *symbol)
char * dlerror (void)
int dlclose (void *handle)


Define Documentation

#define Error ( msg   )     do{errMsg=(msg);goto error;}while(0)

 
#define SysErr (  )     Error(strerror(errno))


Typedef Documentation

typedef struct Cdtor * CdtorPtr

typedef struct Export * ExportPtr

typedef struct Module * ModulePtr


Function Documentation

int dlclose ( void *  handle  ) 

char* dlerror ( void   ) 

Definition at line 309 of file tclLoadAix.c.

Referenced by TclpDlopen(), TclpFindSymbol(), and TclpUnloadFile().

void* dlopen ( const char *  path,
int  mode 
)

Definition at line 99 of file tclLoadAix.c.

References Module::name, Module::next, and Module::refCnt.

Referenced by TclpDlopen(), and TclpInitPlatform().

void* dlsym ( void *  handle,
const char *  symbol 
)

Definition at line 283 of file tclLoadAix.c.

References Export::addr, Module::exports, Export::name, and Module::nExports.

Referenced by TclpFindSymbol().



Generated on Wed Mar 12 12:18:37 2008 by  doxygen 1.5.1