Determines whether a foreign symbol is defined.
fli
foreign-symbol-defined-p symbol-name &key functionp module encoding => boolean
symbol-name⇩ |
A string or a symbol. |
functionp⇩ |
A boolean. |
module⇩ |
A symbol or string naming a module, or nil . |
encoding⇩ |
One of :source , :object , :lisp or :dbcs . |
boolean | nil or t . |
The function foreign-symbol-defined-p
returns t
if symbol-name is a known foreign symbol and nil
otherwise.
functionp, module and encoding are used as for make-pointer.
(foreign-symbol-defined-p "printf") => t
Foreign Language Interface User Guide and Reference Manual - 18 Feb 2025 15:36:32