| www.delorie.com/djgpp/doc/libc-2.01/libc_244.html | search |
#include <sys/dxe.h>
void *_dxe_load(char *dxe_filename);
static int (*add)(int a, int b);
add = _dxe_load("add.dxe");
if (add == 0)
printf("Cannot load add.dxe\n");
else
printf("Okay, 3 + 4 = %d\n", add(3,4));
This function loads a dynamic executable image into memory and returns the entry point for the symbol associated with the image. The symbol may point to a structure or a function.
0 on failure, the address of the loaded symbol on success.
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |