unix
Factor handbook > The implementation > System interface > Operating system detection

Prev:windows


Vocabulary
system

Definition


Methods







































































































M: unix default-temp-directory "/tmp/factor-temp" ;






















































M: unix find-library-file
dup absolute-path?
[ ?exists ] [
{
"/lib"
"/usr/lib"
"/usr/local/lib"
"/opt/local/lib"
"resource:"
} [ prepend-path ?exists ] with map-find drop
] if ;


















M: unix hosts-path "/etc/hosts" ;