Create and open a file.
If the file does not exist, first create it with the specified mode, and then open it. If the file exists, open() is called.
If this method is not implemented or under Linux kernel versions earlier than 2.6.15, the mknod() and open() methods will be called instead.
See Implementation
Create and open a file.
If the file does not exist, first create it with the specified mode, and then open it. If the file exists, open() is called.
If this method is not implemented or under Linux kernel versions earlier than 2.6.15, the mknod() and open() methods will be called instead.