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

Document that set_fd_flags can't set most flags #92

Open
sunfishcode opened this issue Feb 4, 2023 · 0 comments
Open

Document that set_fd_flags can't set most flags #92

sunfishcode opened this issue Feb 4, 2023 · 0 comments

Comments

@sunfishcode
Copy link
Member

Many OS's don't support changing most of the descriptor flags on an open descriptor. The two flags WASI has that do seem like they might be portable to allow setting are append and nonblock (though of course nonblock is not implemented for files in most situations anyway).

We should at least document this.

And perhaps we should even remove set-fd-flags and replace it with just set-append and set-nonblock which operate on individual flags.

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