Skip to content

Use file descriptions, shared between file descriptors#42

Merged
jackpot51 merged 3 commits intoredox-os:masterfrom
ids1024:description
Jul 28, 2017
Merged

Use file descriptions, shared between file descriptors#42
jackpot51 merged 3 commits intoredox-os:masterfrom
ids1024:description

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

Development

Successfully merging this pull request may close these issues.

2 participants