23 #if ! defined (octave_oct_group_h) 24 #define octave_oct_group_h 1 26 #include "octave-config.h" 30 #include <sys/types.h> 45 : m_name (), m_passwd (), m_gid (0), m_mem (), valid (
false)
49 : m_name (gr.m_name), m_passwd (gr.m_passwd),
50 m_gid (gr.m_gid), m_mem (gr.m_mem), valid (gr.valid)
71 gid_t gid (
void)
const;
75 bool ok (
void)
const {
return valid; }
77 operator bool ()
const {
return ok (); }
79 static group getgrent (
void);
82 static group getgrgid (gid_t gid);
88 static int setgrent (
void);
91 static int endgrent (
void);
118 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 120 OCTAVE_DEPRECATED (4.2,
"use 'octave::sys::group' instead")
121 typedef
octave::sys::group octave_group;
nd deftypefn *std::string name
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
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