www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21755] New: Add CLOEXEC posix flags declarations

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 puremagic.com
          Reporter: dfj1esp02 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.

--
Mar 24 2021