WebAssembly / WebAssembly/wasi-libc
ioctl doesn't implement FIONREAD for wasi:socket handles
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1k
- Forks
- 251
- Avg merge
- 7h 15m
- Merged PRs (30d)
- 3
Description
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with libc-bottom-half/cloudlibc/src/libc/sys/ioctl/ioctl.c at the referenced lines and trace how ioctl handles wasi:socket descriptors. Determine the expected FIONREAD behavior for these handles, then verify that the implementation reports unread data correctly and that relevant existing checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100