Loading...
1
2
3
4
5
6
7
8
#include <stdbool.h>
#include <stdlib.h>
#include <dlfcn.h>

bool foo()
{
	return (dlopen("./libbar.dylib", RTLD_NOW) != NULL);
}