MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_dlib_find

Function hc_dlib_find

dynamic/dynamic.c:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void *hc_dlib_find(const struct hc_dlib *lib, const char *s) {
138 dlerror();
139 void *v = dlsym(lib->handle, s);
140 char *e = dlerror();
141
142 if (e) {
143 hc_throw("Symbol '%s' not found: %s", e);
144 }
145
146 return v;
147}
148
149char *hc_vsprintf(const char *format, va_list args) {
150 va_list tmp_args;

Callers 1

dynamic_testsFunction · 0.85

Calls

no outgoing calls

Tested by 1

dynamic_testsFunction · 0.68