IPlatformFile::OpenWrite

Attempt to open a file for writing.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h

Include

#include "GenericPlatform/GenericPlatformFile.h"

Syntax

IFileHandle * OpenWrite
(
    const TCHAR * Filename,
    bool bAppend,
    bool bAllowRead
)

Remarks

Attempt to open a file for writing. If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.