Handbook
Glossary
dyld-find ( name -- path/f )
Vocabulary
alien
.
libraries
.
finder
.
macos
Inputs
name
an
object
Outputs
path/f
an
object
Definition
USING:
alien.libraries.finder.macos.private
combinators
io.files
io.files.info
kernel
sequences
;
IN:
alien.libraries.finder.macos
:
dyld-find
( name -- path/f )
dyld-search-paths
[
{
{
[
dup
file-exists?
]
[
file-info
regular-file?
]
}
{
[
use-dyld-shared-cache?
]
[
_dyld_shared_cache_contains_path
]
}
[
drop
f
]
}
cond
]
find
nip
;