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

Support readv and writev system calls #42

Closed
rick-masters opened this issue Oct 24, 2023 · 1 comment · Fixed by #43
Closed

Support readv and writev system calls #42

rick-masters opened this issue Oct 24, 2023 · 1 comment · Fixed by #43
Labels
enhancement New feature or request

Comments

@rick-masters
Copy link
Contributor

Please support readv and writev system calls.
These are used by musl internally to implement common libc I/O routines.

I am attaching a program for testing on Fiwix.

You can test it like so:

cc test-readv.c -o test-readv
rm -f testout.txt
./test-readv

The correct output is:

fd: 3
wrote 12
read return: 12
read str: /hello world!/

test-readv.c.gz

@mikaku
Copy link
Owner

mikaku commented Oct 26, 2023

Thank you very much.

@mikaku mikaku added the enhancement New feature or request label Oct 26, 2023
mikaku added a commit that referenced this issue Oct 27, 2023
…umber of scatter/gather elements which can be processed in one call #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants