Identifies the version of the Operating System.
common-lisp
software-version => description
description⇩ |
A string or nil . |
The function software-version
returns a string giving the version of the Operating System, or nil
if this cannot be determined.
On Microsoft Windows systems, description begins with the specific Operating System. For supported systems this is "Windows Vista"
, "Windows Server 2008"
, "Windows 7"
, "Windows Server 2008 R2"
, "Windows 8"
, "Windows 10"
, "Windows Server 2012"
or "Some Windows NT derivative"
. This is followed by the version numbers (Major.Minor), build number and optionally service pack.
On older unsupported operating systems, description commences with "Windows 95"
, "Windows 98"
, "Windows Millennium"
, "Windows NT"
, "Windows 2000"
or "Windows XP"
.
Prior to LispWorks 7.1, the description begins with "Windows 8"
when running on Windows 10.
(software-version) => "Windows 8: 6.2 (build 9200) "
(software-version) => "Windows 7: 6.1 (build 7600)"
(software-version) => "Windows Vista: 6.0 (build 6000)"
software-version in the Common Lisp HyperSpec
software-type
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30