You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Search through entire list, looking for element with same fd value given as input.
Close it using file_close() from file.c
The text was updated successfully, but these errors were encountered:
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:
file_close()
from file.cThe text was updated successfully, but these errors were encountered: