23 #if defined (HAVE_CONFIG_H)
27 #include <sys/types.h>
29 #if defined (HAVE_GRP_H)
37 #define NOT_SUPPORTED(nm) \
38 nm ": not supported on this system"
40 OCTAVE_NORETURN
static
44 (*current_liboctave_error_handler) (
"invalid group object");
97 #if defined (HAVE_GETGRENT)
116 #if defined (HAVE_GETGRGID)
135 #if defined (HAVE_GETGRNAM)
154 #if defined (HAVE_SETGRENT)
174 #if defined (HAVE_ENDGRENT)
185 : m_name (), m_passwd (), m_gid (0), m_mem (), valid (
false)
187 #if defined (HAVE_GRP_H)
196 #if defined (HAVE_GR_PASSWD)
205 const char *
const *
tmp = gr->gr_mem;
217 for (
int i = 0;
i <
k;
i++)
Octave interface to the compression and uncompression libraries.
create a structure array and initialize its values The dimensions of each cell array of values must match Singleton cells and non cell values are repeated so that they fill the entire array If the cells are create an empty structure array with the specified field names If the argument is an return the underlying struct Observe that the syntax is optimized for struct trong struct("foo", 1) esult
void resize(octave_idx_type n, const std::string &rfv="")
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
static group getgrnam(const std::string &nm)
std::string passwd(void) const
std::string name(void) const
#define NOT_SUPPORTED(nm)
static OCTAVE_NORETURN void err_invalid(void)
=val(i)}if ode{val(i)}occurs in table i
static group getgrent(void)
static int endgrent(void)
static group getgrgid(gid_t gid)
string_vector mem(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
static int setgrent(void)