In this article we will study about the Linux open() system call that opens a file (or device). This system call can also be used for creating a file before opening it.
The prototype of the open() function is :
int open(const char *pathname, int...