Handbook
Glossary
find-so ( namespec -- so-name/f )
Vocabulary
ldcache
Inputs
namespec
library name
Outputs
so-name/f
a
string
or
f
Word description
Looks up the library named 'namespec' from the system cache.
Definition
USING:
accessors
io.encodings.binary
io.files
kernel
system
;
IN:
ldcache
:
find-so
( namespec -- so-name/f )
[
"/etc/ld.so.cache"
binary
[
parse
]
with-file-reader
]
dip
cpu
search
[
key>>
]
[
f
]
if*
;