File I/O Flashcards
What are the 3 file descriptor constants
- STDIN_FILENO
- STOUT_FILENO
- STERR_FILENO
What is the file header for the file descriptor symbolic constants
<unistd.h>
</unistd.h>
What is a file descriptor
An integer created and returned when opening a file to refer to
What does v-node stand for and what does it mean
Virtual Node. V-Node pointers point to a position in memory (node), which holds
What does each process get and what is shared regarding file pointers
They get their own File Table Entries, but the v-node pointer in the entries points to the same v-node
What is an atomic operation
An operation that only makes 1 function call
What is an issue that can occur regarding non-atomic operations
Race conditions can occur between 2 processes