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

Use file descriptions, shared between file descriptors #42

Merged
merged 3 commits into from
Jul 28, 2017
Merged

Use file descriptions, shared between file descriptors #42

merged 3 commits into from
Jul 28, 2017

Conversation

ids1024
Copy link
Contributor

@ids1024 ids1024 commented Jul 28, 2017

This maintains dup with a second meaning when the second argument is non-empty. It may be worth changing that API, but it is not handled in this PR.

This also adds F_SETFD and F_GETFD to fcntl.

Depends on redox-os/syscall#16.

@jackpot51
Copy link
Member

Pretty long change but it appears to do what is expected.

Thanks!

@jackpot51 jackpot51 merged commit 2e66912 into redox-os:master Jul 28, 2017
@ids1024 ids1024 deleted the description branch July 29, 2017 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants