Quiz on Files and Directories
It's quiz time! Answer the following questions to test your knowledge and understanding of files and directories.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Why does the following call to open()
return 3 when we try to read file using cat
?
...
open("foo", O_RDONLY|O_LARGEFILE) = 4
...
A.
4 is the code for successful execution
B.
4 is the code for execution failure
C.
0, 1, 2 and 3 represent the other files already opened
D.
None of the above
1 / 5