File flag constants.
| Name | Description |
|---|---|
| FILE_ACCESS_MASK | Mask containing the access flags. |
| FILE_APPEND | Perform all writes to the file at the end of the file. |
| FILE_BYPASS_BUFFER | Bypass kernel buffers and write directly to the disk. |
| FILE_CLOSE_ON_EXEC | Close the file when |
| FILE_CREATE | Create a regulary file if it doesn't already exist. |
| FILE_DATA_SYNC | Ensure that enough data has been passed to the hardware after a write so that the data can be read back. |
| FILE_DONT_BLOCK | Return an error instead of blocking. |
| FILE_DONT_FOLLOW_LINKS | Don't follow symlinks during the opening process. |
| FILE_EXCLUSIVE | Fail creating a new file if it already exists. |
| FILE_LARGE | Allow opening large files on 32 bit systems. |
| FILE_NONE | Dummy flag with all flags unset. |
| FILE_NO_ACCESS_TIME_UPDATE | Don't update the access time of the file. |
| FILE_NO_CONTROLLING_TERM | Don't make the opened file the controlling terminal of this process. |
| FILE_ONLY_DIRECTORY | Fail opening the file if it's not a directory. |
| FILE_PATH | Create a file that can only be used to identify a position in the filesystem. |
| FILE_READ_ONLY | Open the file in read-only mode. |
| FILE_READ_WRITE | Open the file for reading and writing. |
| FILE_SIGNAL_IO | Send a signal to the process when the file becomes ready for reading or writing. |
| FILE_SYNC | Ensure that all data has been passed to the hardware after a write. |
| FILE_TEMP | Create a temporary file that has no name in the filesystem. |
| FILE_TRUNCATE | Truncate the file to size |
| FILE_WRITE_ONLY | Open the file in write-only mode. |
| MFD_ALLOW_SEALING | Allow sealing operations on this file. |
| MFD_CLOSE_ON_EXEC | Close the file when |
| MFD_NONE | Dummy flag with all flags unset. |
| SEAL_GROW | Disallow increasing the size of the file. |
| SEAL_SEALS | Disallow adding new seals. |
| SEAL_SHRINK | Disallow reducing the size of the file. |
| SEAL_WRITE | Disallow changing the contents of the file. |