Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>_dxe_load</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
_dxe_load
=========

Syntax
------

     #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));

Description
-----------

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.

Return Value
------------

0 on failure, the address of the loaded symbol on success.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson