45 : m_name (), m_passwd (), m_gid (0), m_mem (), m_valid (false)
48 OCTAVE_DEFAULT_COPY_MOVE_DELETE (
group)
50 std::string name ()
const;
52 std::string passwd ()
const;
58 bool ok ()
const {
return m_valid; }
60 operator bool ()
const {
return ok (); }
62 static group getgrent ();
63 static group getgrent (std::string& msg);
65 static group getgrgid (gid_t gid);
66 static group getgrgid (gid_t gid, std::string& msg);
68 static group getgrnam (
const std::string& nm);
69 static group getgrnam (
const std::string& nm, std::string& msg);
71 static int setgrent ();
72 static int setgrent (std::string& msg);
74 static int endgrent ();
75 static int endgrent (std::string& msg);
96 group (
void *p, std::string& msg);