26 #if defined (HAVE_CONFIG_H)
30 #include <sys/types.h>
32 #if defined (HAVE_GRP_H)
40 #define NOT_SUPPORTED(nm) \
41 nm ": not supported on this system"
43 OCTAVE_NORETURN
static
47 (*current_liboctave_error_handler) (
"invalid group object");
100 #if defined (HAVE_GETGRENT)
119 #if defined (HAVE_GETGRGID)
123 octave_unused_parameter (
gid);
140 #if defined (HAVE_GETGRNAM)
144 octave_unused_parameter (nm);
161 #if defined (HAVE_SETGRENT)
181 #if defined (HAVE_ENDGRENT)
192 : m_name (), m_passwd (), m_gid (0), m_mem (), valid (false)
194 #if defined (HAVE_GRP_H)
199 struct ::group *gr =
static_cast<struct ::
group *
> (p);
203 #if defined (HAVE_GR_PASSWD)
212 const char *
const *tmp = gr->gr_mem;
224 for (
int i = 0; i < k; i++)
231 octave_unused_parameter (p);
static int setgrent(void)
static group getgrent(void)
string_vector mem(void) const
std::string passwd(void) const
static group getgrgid(gid_t gid)
static int endgrent(void)
static group getgrnam(const std::string &nm)
std::string name(void) const
void resize(octave_idx_type n, const std::string &rfv="")
static OCTAVE_NORETURN void err_invalid(void)
#define NOT_SUPPORTED(nm)