Question
What is a file descriptor in a UNIX-like process?
Select an option. Your answer will be checked instantly.
Correct Answer: C. A small integer index referring to an entry for an open file or I/O object
Explanation:
A file descriptor is the process-level handle used by operations such as read, write, and close.
The kernel maps it to open-file state and the underlying object.
Leave a Reply