Class PosixGroup

Class Documentation

class PosixGroup

Public Types

using string_t = cxx::string<100>

Public Functions

explicit PosixGroup(const gid_t f_id) noexcept
explicit PosixGroup(const string_t &f_name) noexcept
bool operator==(const PosixGroup &other) const noexcept
string_t getName() const noexcept
gid_t getID() const noexcept
bool doesExist() const noexcept

Public Static Functions

static PosixGroup getGroupOfCurrentProcess() noexcept
static cxx::optional<uid_t> getGroupID(const string_t &f_name) noexcept
static cxx::optional<string_t> getGroupName(gid_t f_id) noexcept