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

FD and dir handles are implemented using the same space (on Linux); the spec has them distinct #16

Open
tomjridge opened this issue Sep 15, 2016 · 1 comment

Comments

@tomjridge
Copy link
Contributor

No description provided.

@dsheets
Copy link
Contributor

dsheets commented Sep 16, 2016

I believe that using the same space is a requirement of POSIX as http://pubs.opengroup.org/onlinepubs/9699919799/functions/dirfd.html exists and maps DIR * to int fd. The inverse, fdopendir also exists in POSIX.

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

No branches or pull requests

2 participants