1.

S_IFxxx macros are used for checking the file types.(a) True(b) FalseI have been asked this question in unit test.The question is from File Handling System Calls topic in portion System Programming I – Files of Unix

Answer»

Correct choice is (a) True

The BEST EXPLANATION: All UNIX systems provide a SET of macros beginning with S_IF (often called S_IFxxx macros) that provide us with a function of checking the file type. But modern UNIX system PERFORMS this task in a more simplified manner using S_ISxxx macros.



Discussion

No Comment Found

Related InterviewSolutions