1.

What is the symbolic constant for errno 2?(a) EPERM(b) ENDENT(c) EIO(d) EEXISTThis question was addressed to me at a job interview.The origin of the question is File handling System Calls in division System Programming I – Files of Unix

Answer»

Correct choice is (b) ENDENT

To EXPLAIN: The symbolic constant for errno 2 is ENDENT. It DISPLAYS the message “no such file and DIRECTORY”.



Discussion

No Comment Found

Related InterviewSolutions