To use the functions described in this section, you will need to load
the (geda os)
module.
This section describes some functions and variables that are useful for Scheme code that needs to behave differently depending on which operating system gEDA is running on.
The directory separator character that should be used on the host platform.
The character used for separating the elements in ‘PATH’-like environment variables on the host platform.
Returns a list of symbols describing the host platform. The returned symbols may include:
- ‘carbon’
- ‘cygwin’
- ‘linux’
- ‘win32’
- ‘win32-native’
Returns ‘#t’ if the platform description list returned by
platform
contains the symbol type, and ‘#f’ otherwise.
Returns an ordered list of directories in which to access system-wide gEDA data.
Returns an ordered list of directories in which to access system-wide gEDA configuration information.