Handbook
Glossary
dyld-find ( name -- path/f )
Vocabulary
alien
.
libraries
.
finder
.
macosx
Inputs
name
an
object
Outputs
path/f
an
object
Definition
USING:
alien.libraries.finder.macosx.private
combinators
io.files
io.files.info
kernel
sequences
;
IN:
alien.libraries.finder.macosx
:
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
;