Question
Before reading a regular file, a process normally obtains a handle to it using which file-management call?
Select an option. Your answer will be checked instantly.
Correct Answer: D. open()
Explanation:
open() validates access and returns a file descriptor or equivalent handle for later operations.
Reading and writing then refer to that handle rather than repeatedly resolving the pathname.
Leave a Reply