12345678910module juptune.event.io;
static Result createNew(
const char[] path,
PosixFile file,
PosixFile.PermissionFlags permissions = cast(PermissionFlags)504,
PosixFile.ResolveFlags resolveFlags = ResolveFlags.asNormal,
PosixDirectory* cwd = null,
bool pathIsNullTerminated = false
);
Helper function around .openfor when you want to create a new file (the file must not exist already).