Handbook
Glossary
dlsym ( name dll -- alien )
Factor handbook
»
C library interface
»
DLL handles
Prev:
dlopen ( path -- dll )
Next:
dlclose ( dll -- )
Vocabulary
alien
.
libraries
Inputs
name
a C symbol name
dll
a DLL handle
Outputs
alien
an
alien
or
f
Word description
Looks up a symbol in a native library. If
dll
is
f
looks for the symbol in the runtime executable. If the symbol was not found, outputs
f
.
Definition
USING:
alien.strings
kernel
;
IN:
alien.libraries
:
dlsym
( name dll -- alien )
[
string>symbol
]
dip
(dlsym)
;