S_IFxxx macros are used for checking the file types.

🎲 Try a Random Question  |  Total Questions in Quiz: 25  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Unix Basics Practice Test: File Handling System Calls — practice the complete quiz, review flashcards, or try a random question.

File handling system calls are a subset of system calls that are specifically used for managing files. These system calls allow processes to create, open, read, write, and delete files. They also allow processes to get information about files, such as their size, permissions, and creation date. Some of the most common file handling system calls include: open(): : Opens a file for reading or writing. read(): : Reads data from a file. write(): : Writes data to a file. close(): : Closes a file. unlink(): : Deletes a file. stat(): : Gets information about a file. File handling system... Show more

S_IFxxx macros are used for checking the file types.