Constant nstd_sys::fs::file::NSTD_FILE_CREATE

source ·
pub const NSTD_FILE_CREATE: NSTDUInt8 = 1;
Available on crate feature fs only.
Expand description

Creates the file upon opening if it does not already exist.

Either of the NSTD_FILE_WRITE or NSTD_FILE_APPEND options must also be toggled for the file to be created.