This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: O_CLOEXEC and SOCK_CLOEXEC


On 10/07/2015 10:04 PM, Roland McGrath wrote:
> NaCl defines them but doesn't actually support them.
> But it doesn't actually support FD_CLOEXEC either.
> So you can consider NaCl to "support" O_CLOEXEC.
> 
> On the Hurd, these are implemented entirely in libc.  So if any part of the
> support is missing, it can be fixed in libc.

What about SOCK_NONBLOCK?  There is fallback code which looks at the
SOCK_CLOEXEC flag, but actually uses SOCK_NONBLOCK.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]