diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-04-25 06:38:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-04-25 06:38:13 -0700 |
commit | d081a595dfa053c78f7e3f580f82ca7823f02f74 (patch) | |
tree | ea4b7b8312130645b67e980c6581fcda17ba1af1 /glob.c | |
parent | 0a4bbf74bdc55ed80e72aac2941dcd6aefc153b3 (diff) | |
download | txr-d081a595dfa053c78f7e3f580f82ca7823f02f74.tar.gz txr-d081a595dfa053c78f7e3f580f82ca7823f02f74.tar.bz2 txr-d081a595dfa053c78f7e3f580f82ca7823f02f74.zip |
Provide access to dlopen.
* configure: New test for dlopen.
* lib.c (cptr_equal_op): Function renamed to
cobj_equal_handle_op, to reflect what it's really
doing; it is not specifically to cptr objects.
Also changed from static to extern.
(cptr_ops): Follow rename.
* lib.h (cobj_equal_handle_op): Declared.
* sysif.c (cptr_dl_destroy_op): New static function.
(dlopen_wrap, dlclose_wrap, dlsym_wrap, dlvsym_wrap): New
static functions.
(sysif_init): Register new intrinsic functions dlopen,
dlclose, dlsym, dlvsym. New variables rtld-lazy, rtld-now,
rtld-global, rtld-local, rtld-nodelete, rtld-noload,
rtld-deepbind.
Diffstat (limited to 'glob.c')
0 files changed, 0 insertions, 0 deletions