The parameter pathname points to the file path string to be opened The following flags can be used by the parameter flags: O_RDONLY Open the file in read-only mode O_WRONLY Open the file in write only mode O_RDWR Open the file in read-write mode The above three flags are mutually exclusive, that is, not