This tiny sample shows how to use getnlmloadpath()
#include <library.h>
#include <stdio.h>
#include <stdlib.h>
int main( void) {
char* path;
path = getnlmloadpath( NULL);
puts( path ? path : "<null>");
free( path);
return EXIT_SUCCESS;
}
© 2009 Novell, Inc. All Rights Reserved.