Hi Bruno and Paul,

Bruno Haible via Gnulib discussion list <bug-gnulib@gnu.org> writes:

>> +Although POSIX.1-2024 standardized @code{O_CLOFORK},
>> +@code{FD_CLOFORK} and @code{F_DUPFD_CLOFORK},
>> +they are not defined on most platforms:
>> +glibc 2.41, musl libc, macOS 15.5, FreeBSD 14.2, NetBSD 10.1, OpenBSD 7.7,
>> +Minix 3.3.0, AIX 7.1, Solaris 11.3, Cygwin 3.6.2, mingw, MSVC 14.
>
> They are also not defined on AIX 7.3 (cfarm119.cfarm.net). Only Solaris 11.4
> has these macros, so far.

Thanks for the documentation update. I have a feeling that list will not
get shorter anytime soon.

There was a patch sent to the Linux Kernel to add FD_CLOFORK/O_CLOFORK
in 2011 but it was never merged [1].

Collin

[1] 
https://lore.kernel.org/all/1304743740-3405-1-git-send-email-xiao...@gmail.com/

Reply via email to