Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What non-Linux unixes support openat()?

openat() was added to POSIX in the POSIX.1-2008 revision, and has been supported by Linux since 2.6.16. How is support on non-Linux UNIXes? eg, Darwin, the *BSDs, and proprietary UNIXes.

like image 446
bdonlan Avatar asked Dec 08 '22 05:12

bdonlan


2 Answers

Unlike the top answer is saying, all major BSDs and Apple's OS X seem to support it as of today:

  • DragonFly since DragonFly 2.3.
  • FreeBSD since FreeBSD 8.0.
  • Linux since Linux 2.6.16 (for completeness).
  • NetBSD since NetBSD 7.0.
  • OpenBSD since OpenBSD 5.0.
  • OS X since OS X 10.10.
  • Solaris.
like image 199
heinrich5991 Avatar answered Jan 16 '23 23:01

heinrich5991


Dragonfly BSD supports it, the rest of the BSDs don't. Solaris of course does.

like image 35
Nikolai Fetissov Avatar answered Jan 16 '23 23:01

Nikolai Fetissov