Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FD_CLOEXEC and Windows equivalent if any #57

Open
headius opened this issue Sep 21, 2018 · 1 comment
Open

Add FD_CLOEXEC and Windows equivalent if any #57

headius opened this issue Sep 21, 2018 · 1 comment

Comments

@headius
Copy link
Member

headius commented Sep 21, 2018

We now have O_CLOEXEC as a constant. We need FD_CLOEXEC for the fcntl version of it.

Windows defines O_NOINHERIT instead of O_CLOEXEC. If it has a similar equivalent to FD_CLOEXEC we should define that as well.

I think these just go in Fcntl since they're defined there (at least on MacOS).

@headius
Copy link
Member Author

headius commented Sep 21, 2018

Also F_DUPFD_CLOEXEC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant