[haikuports] Re: Posix compatibility

  • From: "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxx>
  • To: haikuports@xxxxxxxxxxxxx
  • Date: Thu, 09 Apr 2020 12:33:03 +0000

Some of these appear to not be in POSIX:

functions: setfsuid, setresuid, setfsgid, setresgid.
errno constants: check 
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
signal constants: check 
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html
open() flags: check 
https://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html

They are probably specific to other operating systems. If they are really 
required, we can look into how to implement them in Haiku.

This leaves us with a shorter list of functions from POSIX actually not in 
Haiku:

2. Functions
fdatasync
mlockall
munlockall
tcgetsid

And these defines which should be researched, I'm not sure what they are:

S_IFWHT
MCL_CURRENT
MCL_FUTURE
F_GETOWN
F_SETOWN
SOCK_RDM

-- 
Adrien.


Other related posts: