enum OpenFlags

Declared at: llvm/include/llvm/Support/FileSystem.h:756

Enumerators

NameValueComment
OF_None0
OF_Text1The file should be opened in text mode on platforms like z/OS that make this distinction.
OF_CRLF2The file should use a carriage linefeed '\r\n'. This flag should only be used with OF_Text. Only makes a difference on Windows.
OF_TextWithCRLF3The 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_Append4The file should be opened in append mode.
OF_Delete8The returned handle can be used for deleting the file. Only makes a difference on windows.
OF_ChildInherit16When a child process is launched, this file should remain open in the child process.
OF_UpdateAtime32Force files Atime to be updated on access. Only makes a difference on Windows.