开发者

What non-Linux unixes support openat()?

开发者 https://www.devze.com 2022-12-09 23:37 出处:网络
openat() was added to POSIX in the POSIX.1-20开发者_运维知识库08 revision, and has been supported by Linux since 2.6.16. How is support on non-Linux UNIXes? eg, Darwin, the *BSDs, and proprietary UNIX

openat() was added to POSIX in the POSIX.1-20开发者_运维知识库08 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.


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.


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


FreeBSD supports it since version 8.0

0

精彩评论

暂无评论...
验证码 换一张
取 消