O_CLOEXEC undocumented?

Sergey Organov sorganov@gmail.com
Wed Mar 18 05:38:37 GMT 2020


"Carlos O'Donell" <carlos@systemhalted.org> writes:

> On Fri, Mar 13, 2020 at 10:46 AM Sergey Organov via Libc-help
> <libc-help@sourceware.org> wrote:
>>
>> Hello,
>>
>> O_CLOEXEC seems to be referenced but undocumented in:
>>
>> This is ‘The GNU C Library Reference Manual’, for Version (Debian
>> glibc-doc-reference 2.28-1) of the GNU C Library.
>
> That is a defect. We should document O_CLOEXEC. Thanks for noticing.

Then I've noticed accept4() along with SOCK_CLOEXEC flag to it
and to socket() are missed as well.

Thanks,
-- Sergey


More information about the Libc-help mailing list