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 write() #31

Closed
Lment opened this issue Apr 2, 2017 · 1 comment
Closed

Implement write() #31

Lment opened this issue Apr 2, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@Lment
Copy link
Contributor

Lment commented Apr 2, 2017

Implement write().

write() is needed to view results of tests, because every tests write to console. write() should reads from given buffer and writes given size bytes to given file.
write() implementation should do the following.

  1. If fd == 1, use putbuf() to write to console.
  2. Else, use file_write() defined in filesys/file.c to write to file, as large as possible.
@hangpark hangpark self-assigned this Apr 2, 2017
@hangpark hangpark added this to the Project #2 milestone Apr 2, 2017
hangpark added a commit that referenced this issue Apr 12, 2017
hangpark added a commit that referenced this issue Apr 12, 2017
[#31] Implement write system call
@hangpark
Copy link
Owner

Done by PR #70.

@hangpark hangpark mentioned this issue Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants