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 close() #17

Closed
Lment opened this issue Mar 30, 2017 · 1 comment
Closed

Implement close() #17

Lment opened this issue Mar 30, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@Lment
Copy link
Contributor

Lment commented Mar 30, 2017

Implement close(), which closes given file descriptor.
Assume some linked list structure that stores fd with corresponding pointer to a file has implemented, this syscall could be implemented like following:

  1. Search through entire list, looking for element with same fd value given as input.
  2. Close it using file_close() from file.c
@Lment Lment added the feature label Mar 30, 2017
@Lment Lment added this to the Project #2 milestone Mar 30, 2017
@hangpark hangpark self-assigned this 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
[#17] Implement close system call
@hangpark
Copy link
Owner

Done by PR #64.

@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