Hi BIOS! My Name Is "Linux", Or Is It?
Oct 24, 2008, 10:33 (17 Talkback[s])
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
"1. Why not return true for _OSI("Linux")?
"The difference between Linux and Windows is that the linux
kernel is a continuously (and rapidly) moving target. When somebody
probes for Windows 98 or Windows 2000 or Windows Vista, they can be
sure about the behaviour, but Linux is too generic for us. The bug
in one version of the kernel can be fixed in another one, and the
behaviour changes, so one cannot rely on _OSI("Linux") as there is
no generic/constant "Linux" interface.