O_CLOEXEC, F_DUPFD_CLOEXEC, SOCK_CLOEXEC and SOCK_NONBLOCK declarations are missing for linux. Linux also needs accept4 function, because CLOEXEC flag is not inherited automatically.
O_CLOEXEC, SOCK_CLOEXEC and SOCK_NONBLOCK for NetBSD.
Comment #1 by robert.schadek — 2024-12-07T13:41:06Z