27 #include <sys/types.h>
37 #define NOT_SUPPORTED(nm) \
38 nm ": not supported on this system"
86 #if defined (HAVE_GETGRENT)
105 #if defined (HAVE_GETGRGID)
106 msg = std::string ();
124 #if defined (HAVE_GETGRNAM)
125 msg = std::string ();
143 #if defined (HAVE_SETGRENT)
144 msg = std::string ();
163 #if defined (HAVE_ENDGRENT)
164 msg = std::string ();
174 : gr_name (), gr_passwd (), gr_gid (0), gr_mem (), valid (false)
176 #if defined (HAVE_GRP_H)
177 msg = std::string ();
181 struct group *gr =
static_cast<struct group *
> (p);
185 #if defined (HAVE_GR_PASSWD)
194 const char *
const *tmp = gr->gr_mem;
206 for (
int i = 0; i < k; i++)
220 (*current_liboctave_error_handler) (
"invalid group object");
static int endgrent(void)
static int setgrent(void)
static octave_group getgrgid(gid_t gid)
string_vector mem(void) const
void resize(octave_idx_type n, const std::string &rfv=std::string())
std::string passwd(void) const
void gripe_invalid(void) const
static octave_group getgrnam(const std::string &nm)
#define NOT_SUPPORTED(nm)
static octave_group getgrent(void)
std::string name(void) const