What is the primary effect of invoking a file-close system call on an open…
What is the primary effect of invoking a file-close system call on an open file descriptor or handle?
- A.
It renames the file on disk to signal that it's no longer in use.
- B.
It flushes any buffered output, releases kernel resources, and invalidates the descriptor for further I/O.
- C.
It immediately frees the memory occupied by the file's data in user space.
- D.
It deletes the file from the file system once all operations are done.
Attempted by 122 students.
Sign up free to check your answer
Sign up freeLoading lesson…