Changeset 7f9df7b9 in mainline for uspace/lib/posix/src/dlfcn.c
- Timestamp:
- 2018-01-22T22:42:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a08c70
- Parents:
- e0f47f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/dlfcn.c
re0f47f5 r7f9df7b9 31 31 */ 32 32 33 #define LIBPOSIX_INTERNAL34 #define __POSIX_DEF__(x) posix_##x35 36 33 #include "internal/common.h" 37 34 #include "posix/dlfcn.h" 38 35 39 #include "libc/dlfcn.h" 36 _HIDE_LIBC_SYMBOL(dlopen) 37 extern void *__helenos_libc_dlopen(const char *filename, int flags); 40 38 41 void * posix_dlopen(const char *filename, int flags)39 void *dlopen(const char *filename, int flags) 42 40 { 43 41 if (flags != 0) { … … 45 43 } 46 44 47 return dlopen(filename, 0);45 return __helenos_libc_dlopen(filename, 0); 48 46 } 49 47 50 void *posix_dlsym(void *handle, const char *symbol) 51 { 52 return dlsym(handle, symbol); 53 } 54 55 int posix_dlclose(void *handle) 48 int dlclose(void *handle) 56 49 { 57 50 not_implemented(); … … 59 52 } 60 53 61 char * posix_dlerror(void)54 char *dlerror(void) 62 55 { 63 56 not_implemented();
Note:
See TracChangeset
for help on using the changeset viewer.