2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
11 static inline void GetErrorStr(char **error
)
14 *error
= (char *)dlerror();
17 void *Host_HostLib_Open(const char *filename
, char **error
)
19 void *ret
= dlopen(filename
, RTLD_NOW
);
25 int Host_HostLib_Close(void *handle
, char **error
)
27 int ret
= dlclose(handle
);
33 void *Host_HostLib_GetPointer(void *handle
, const char *symbol
, char **error
)
35 void *ret
= dlsym(handle
, symbol
);