loadYOURSELF

loadYOURSELF

Browsing Posts tagged link

Watch internet video from the comfort of your couch with the DMX-NV1 BRAVIA® Internet Video Link. This easy-to-attach module lets you stream internet video to compatible BRAVIA HDTVs over your broadband internet connection. The DMX-NV1 stays hidden behind the TV keeping your home theater setup clean and uncluttered. Using the award-winning Xross Media Bar™, and your TV remote control you can intuitively browse select online music videos, movie trailers, user-generated videos, personalized weather, traffic feeds and more with no additional download or access fees. Internet video providers include AOL, Yahoo!, and Grouper (and more as they become available).

Shared library file
b.c

#include

void b_printer ()
{
printf (“Printing something from a shared library.n”);
}

gcc -fPIC -shared -o b.so b.c

Prototypes for the Shared Library Functions Found in dlfcn.h

void* dlopen (const char* filename, int flag);
const char* dlerror (void);
void* dlsym (void* handle, char* symbol);

  1. Open the shared library by using dlopen().
  2. Check that the open succeeded by using dlerror().
  3. Get the function that you want by using dlsym().