- See also
- - https://sicstus.sics.se/sicstus/docs/4.6.0/html/sicstus.html/lib_002dsystem.html
- environ(?Name, ?Value) is nondet
- environ(?Name, ?Value, +Source) is nondet
- True if Value is an atom associated with the environment variable
or system property Name.
Source may be properties
(to get only system properties),
environment
(to get only environment variables),
or merged
(the default, to get both, with system properties
taking precedence over environment variables of the same name).
- Compatibility
- - SICStus 4
- To be done
- - Mode -Name is not supported.
Because SWI-Prolog doesn't have an obvious equivalent to
SICStus system properties, these predicates currently
behave as if no system properties are defined,
i. e. only environment variables are returned.
Re-exported predicates
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
- now(-When) is det
- Unify when with the current time-stamp
- Compatibility
- - sicstus
- datime(+When, -Datime) is det
- datime(-When, +Datime) is det
- True when Datime is a datime/6 record that reflects the time
stamp When.
- Compatibility
- - sicstus
- datime(-Datime) is det
- Unifies Datime with the current date and time as a datime/6
record of the form
datime(Year,Month,Day,Hour,Min,Sec)
. All
fields are integers.
- Compatibility
- - sicstus
- environ(?Name, ?Value) is nondet
- environ(?Name, ?Value, +Source) is nondet
- True if Value is an atom associated with the environment variable
or system property Name.
Source may be properties
(to get only system properties),
environment
(to get only environment variables),
or merged
(the default, to get both, with system properties
taking precedence over environment variables of the same name).
- Compatibility
- - SICStus 4
- To be done
- - Mode -Name is not supported.
Because SWI-Prolog doesn't have an obvious equivalent to
SICStus system properties, these predicates currently
behave as if no system properties are defined,
i. e. only environment variables are returned.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
- sleep(Arg1)