OSX 是 POSIX 操作系统吗? [英] Is OSX a POSIX OS?

查看:52
本文介绍了OSX 是 POSIX 操作系统吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是什么让操作系统成为 POSIX 系统?所有版本的 Linux 都是 POSIX,对吧?OSX 呢?

What is it that makes an OS a POSIX system? All versions of Linux are POSIX, right? What about OSX?

推荐答案

是的.POSIX 是一组标准,为类 Unix 操作系统确定可移植 API.Mac OSX 是基于 Unix 的(并已通过此类认证),因此符合 POSIX 标准.POSIX 保证某些系统调用可用.

Yes. POSIX is a group of standards that determine a portable API for Unix-like operating systems. Mac OSX is Unix-based (and has been certified as such), and in accordance with this is POSIX compliant. POSIX guarantees that certain system calls will be available.

基本上,Mac 满足 POSIX 兼容所需的 API,这使其成为 POSIX 操作系统.

Essentially, Mac satisfies the API required to be POSIX compliant, which makes it a POSIX OS.

所有版本的 Linux 都不符合 POSIX.2.6 之前的内核版本不兼容,而今天的 Linux 也不是正式的 POSIX 兼容,因为它们还没有竭尽全力获得认证(这可能永远不会发生).无论如何,几乎所有意图和目的都可以将 Linux 视为 POSIX 系统.

All versions of Linux are not POSIX-compliant. Kernel versions prior to 2.6 were not compliant, and today Linux isn't officially POSIX-compliant because they haven't gone out of their way to get certified (which will likely never happen). Regardless, Linux can be treated as a POSIX system for almost all intents and purposes.

这篇关于OSX 是 POSIX 操作系统吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆