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

Implement some c functions in stdio.c using rust, and fixed bugs #19

Closed
wants to merge 0 commits into from
Closed

Conversation

minminm
Copy link
Contributor

@minminm minminm commented Oct 18, 2023

Implement some c functions in stdio.c using rust, including fopen, flclose, fwrite, fread, fputs, fgets and fileno, and fixed bugs in fread and fwrite.

@coolyjg
Copy link
Contributor

coolyjg commented Oct 20, 2023

Please run make clippy for clippy checks, and make doc_check_missing for doc checks, and make test for all tests in your local machine before submit pr.

{
return f->fd;
}
// FILE *fopen(const char *filename, const char *mode)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should be removed rather than commented out.

@minminm minminm closed this Nov 8, 2023
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