OSX是POSIX OS吗? [英] Is OSX a POSIX OS?

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

问题描述

什么使OS成为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 OS.

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 OS吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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