[Issue 21755] New: Add CLOEXEC posix flags declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 24 08:15:16 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21755

          Issue ID: 21755
           Summary: Add CLOEXEC posix flags declarations
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: dfj1esp02 at sneakemail.com

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.

--


More information about the Digitalmars-d-bugs mailing list