Skip to main content

WRITE_INTENT

Constant WRITE_INTENT 

Source
const WRITE_INTENT: i64 = _; // 1_603i64
Expand description

open(2) flags that imply the caller intends to modify the file.

O_TMPFILE is deliberately absent: its value includes the O_DIRECTORY bit, so testing for it would flag every opendir, and it always comes with O_WRONLY or O_RDWR anyway.