| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: name
This function returns two values. The first is the entry point for
name, which must be a string.
nil
is
returned if name does not have an entry point.
The second returned value is the handle of the .so/.sl/.dll/.dylib library in which the symbol was found.
For example, "aclmalloc" is the name of the C function called by aclmalloc. Using this function, we find its entry point is 1872778976 and the handle of its library is 4. Using get-shared-library-handle and get-shared-library-name, we find it is in the Allegro CL shared library called (on this machine and in this run) "libacli61pf4.so" (the name you see will be different).
cl-user(101): (ff:get-entry-point "aclmalloc") 1872778976 4 cl-user(102): (get-shared-library-handle) 4 cl-user(103): (get-shared-library-name) "libacli61pf4.so" cl-user(104):
See ftype.htm for information on foreign types in Allegro CL and foreign-functions.htm for general information on foreign functions in Allegro CL.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |