Constant lrs::file::flags::FILE_TEMP

Create a temporary file that has no name in the filesystem.

Syntax

const FILE_TEMP: FileFlags = FileFlags(O_TMPFILE);

Remarks

The provided path should specify a directory in which the unnamed inode will be created.

If this flag is set, then one of FILE_WRITE_ONLY and FILE_READ_WRITE also has to be set. Additionally, the FILE_EXCULSIVE flag can be set. If this flag is not set, then the file can later be made visible in the filesystem via the link function. The mode of the file will be the mode passed to open.

See also