7 #define P(name,type,arg) type (*name ## _p) arg
11 void kconfig_load(void)
16 handle
= dlopen("./libkconfig.so", RTLD_LAZY
);
18 handle
= dlopen("./scripts/kconfig/libkconfig.so", RTLD_LAZY
);
20 fprintf(stderr
, "%s\n", dlerror());
25 #define P(name,type,arg) \
27 name ## _p = dlsym(handle, #name); \
28 if ((error = dlerror())) { \
29 fprintf(stderr, "%s\n", error); \
33 #include "lkc_proto.h"
This page took 0.046419 seconds and 5 git commands to generate.