Function: SB-SYS:FOREIGN-SYMBOL-ADDRESS

package type github

Returns the address of the foreign symbol NAME. DATAP must be true if the symbol designates a variable (used only on linkage-table platforms). Returns a secondary value T if the symbol is a dynamic foreign symbol.

On linkage-table ports the returned address is always static: either direct address of a static symbol, or the linkage-table address of a dynamic one. Dynamic symbols are entered into the linkage-table if they aren’t there already.

On non-linkage-table ports signals an error if the symbol isn’t found.

Lambda list

(sb-impl::name &optional sb-impl::datap)