POSIX 除了 Unix 之外还有哪些操作系统兼容?

What other operating systems besides Unix is POSIX compatible with?

发件人:https://en.wikipedia.org/wiki/POSIX

POSIX (/ˈpɒzɪks/ POZ-iks), an acronym for Portable Operating System Interface,[1] is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines the application programming interface (API), along with command line shells and utility interfaces, for software compatibility with variants of Unix and other operating systems.

问题是他们把"variants of Unix"和"other operating systems"说清楚了。

"other operating systems"他们指的是哪些操作系统?

首先,POSIX 是一组标准,因此根据您所谈论的标准,您会发现或多或少兼容 OSes。

其次,任何符合 POSIX 接口集的 OS 都可能被允许将自己命名为 UNIX,严格来说,不可能有 POSIX 兼容非Unix OS.

歧义在于 Unix 用于命名两种不同的事物。第一个是 OSes 家族,它们起源于原始的 AT&T Unix 源代码。第二个接受是任何 OS,它们共享由 POSIX 定义的同一组接口。 Gnu/Linux OS属于后一组。

无论如何,只有两个 POSIX 兼容 OSes(即被证明是兼容的)不属于 Unix 家族,QNX 和 OS X(尽管后者与 BSD 共享一些代码,其根植于原始 Unix)。

周围还有更多兼容但不严格兼容的 OS。 Cygwin、SFU 和类似层正在向 Windows 提供 POSIX 兼容 API 的子集。其他非 Unix 类似的是 VxWorks、z/OS、OpenVMS。

如需完整列表,请查看 https://en.wikipedia.org/wiki/POSIX#POSIX-oriented_operating_systems