class::fs::OpenFlags

class fs::OpenFlags
  : private api::FsInfoObject

Summary

explicit [OpenFlags](#classfs_1_1_open_flags_1a5d77484ae3e12d4079a07de4c44875fe)()

int access() const

bool is_append() const

bool is_create() const

bool is_exclusive() const

bool is_non_blocking() const

bool is_read_only() const

bool is_read_write() const

bool is_truncate() const

bool is_write_only() const

int o_flags() const

OpenFlags & set_append()

OpenFlags & set_create()

OpenFlags & set_exclusive()

OpenFlags & set_non_blocking()

OpenFlags & set_read_only()

OpenFlags & set_read_write()

OpenFlags & set_truncate()

OpenFlags & set_write_only()

static OpenFlags append()

static OpenFlags append_read_write()

static OpenFlags append_write_only()

static OpenFlags create()

static OpenFlags create_append_write_only()

static OpenFlags create_truncate()

static OpenFlags read_only()

static OpenFlags read_write()

static OpenFlags write_only()

enum o_open_flags

Members

explicit OpenFlags()

int access() const

bool is_append() const

bool is_create() const

bool is_exclusive() const

bool is_non_blocking() const

bool is_read_only() const

bool is_read_write() const

bool is_truncate() const

bool is_write_only() const

int o_flags() const

OpenFlags & set_append()

OpenFlags & set_create()

OpenFlags & set_exclusive()

OpenFlags & set_non_blocking()

OpenFlags & set_read_only()

OpenFlags & set_read_write()

OpenFlags & set_truncate()

OpenFlags & set_write_only()

static OpenFlags append()

static OpenFlags append_read_write()

static OpenFlags append_write_only()

static OpenFlags create()

static OpenFlags create_append_write_only()

static OpenFlags create_truncate()

static OpenFlags read_only()

static OpenFlags read_write()

static OpenFlags write_only()

enum o_open_flags
  • RDONLY Open as read-only
  • READONLY Open as read-only
  • WRONLY Open as write-only
  • WRITEONLY Open as write-only
  • CREATE Create when opening (files)
  • CREAT Create when opening (files)
  • TRUNCATE Truncate when opening (files)
  • TRUNC Truncate when opening (files)
  • APPEND Append when opening (files)
  • EXCLUSIVE Create exclusively (files)
  • EXCL Create exclusively (files)
  • READWRITE Open as read-write
  • RDWR Open as read-write
  • NONBLOCK Open as non-blocking
  • NDELAY Open as non-blocking
  • ACCMODE Access mode mask
  • ACCESS_MODE Access mode mask

X

Thanks for Coming!

Subscribe to news and updates