Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is OSX a POSIX OS?

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

like image 750
node ninja Avatar asked Apr 26 '11 03:04

node ninja


People also ask

What OS uses POSIX?

POSIX for Microsoft Windows Cygwin provides a largely POSIX-compliant development and run-time environment for Microsoft Windows.

Which operating systems are POSIX compliant?

Examples of some POSIX-compliant systems are AIX, HP-UX, Solaris, and MacOS (since 10.5 Leopard). On the other hand, Android, FreeBSD, Linux Distributions, OpenBSD, VMWare, etc., follow most of the POSIX standard, but they are not certified.

Is Windows a POSIX OS?

Though POSIX is heavily based on the BSD and System V releases, non-Unix systems such as Microsoft's Windows NT and IBM's OpenEdition MVS are POSIX compliant.

What type of OS runs on a Mac?

The current Mac operating system is macOS, originally named "Mac OS X" until 2012 and then "OS X" until 2016.


2 Answers

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.

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

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.

like image 85
Rafe Kettler Avatar answered Oct 12 '22 00:10

Rafe Kettler


Yes, OS X is based on Darwin BSD, and since 10.5 (Leopard - 18-May-2007) all Intel/AMD versions have been officially certified as compliant with the Unix 03 / POSIX standard eg.

  • UNIX® 03 - Mac OS X Version 10.5 Leopard
  • Apple Registers Mac OS X 10.8 Mountain Lion to the UNIX® 03 Standard
  • UNIX® 03 - OS X version 10.11 El Capitan
like image 29
arober11 Avatar answered Oct 12 '22 00:10

arober11