enum OpenFlags
Declared at: llvm/include/llvm/Support/FileSystem.h:756
Enumerators
Name | Value | Comment |
---|---|---|
OF_None | 0 | |
OF_Text | 1 | The file should be opened in text mode on platforms like z/OS that make this distinction. |
OF_CRLF | 2 | The file should use a carriage linefeed '\r\n'. This flag should only be used with OF_Text. Only makes a difference on Windows. |
OF_TextWithCRLF | 3 | The file should be opened in text mode and use a carriage linefeed '\r\n'. This flag has the same functionality as OF_Text on z/OS but adds a carriage linefeed on Windows. |
OF_Append | 4 | The file should be opened in append mode. |
OF_Delete | 8 | The returned handle can be used for deleting the file. Only makes a difference on windows. |
OF_ChildInherit | 16 | When a child process is launched, this file should remain open in the child process. |
OF_UpdateAtime | 32 | Force files Atime to be updated on access. Only makes a difference on Windows. |