There are a number of predicates that are operating system dependent and are implemented in a Logic Server Extension, aosutil.lsx. Examples of environment-specific extended predicates are chdir/1 (change directory) and findfiles/3 (find file names in a directory structure). These are described under O.S. Predicates in the Prolog User's Guide.
The Amzi! IDE and the Amzi! command line tools are all Logic Server applications. If you want to use these predicates in the IDE, arun or your own stand-alone applications, you must either implement the extended predicates in your application or load aosutil.lsx with your application.
The full source code for osutils.cpp is included in directory src/lsx/osutils.
Copyright ©1987-2011 Amzi! inc. All Rights Reserved. Amzi! is a registered trademark and Logic Server is a trademark of Amzi! inc.