UNISTDX_IO_OPEN_FLAG
enum open_flag: int

Flags used when opening file.

  • append = O_APPEND
  • async = O_ASYNC
  • close_on_exec = UNISTDX_O_CLOEXEC
  • create = O_CREAT
  • direct = UNISTDX_O_DIRECT
  • directory = UNISTDX_O_DIRECTORY
  • dsync = O_DSYNC
  • exclude = O_EXCL
  • large_file = UNISTDX_O_LARGEFILE
  • no_atime = UNISTDX_O_NOATIME
  • no_ctty = O_NOCTTY
  • no_follow = UNISTDX_O_NOFOLLOW
  • non_blocking = O_NONBLOCK
  • path = UNISTDX_O_PATH
  • read_only = O_RDONLY
  • read_write = O_RDWR
  • rsync = UNISTDX_O_RSYNC
  • sync = O_SYNC
  • tmp_file = UNISTDX_O_TMPFILE
  • truncate = O_TRUNC
  • write_only = O_WRONLY
struct sys::is_flag< open_flag >
Base classes
  • public std::true_type
supports(open_flag rhs) -> constexpr bool

Check if flag rhs is supported by operating system.