23 #if defined (HAVE_CONFIG_H)
29 #include <sys/types.h>
54 m.
assign (
"gid", static_cast<double> (gr.
gid ()));
74 if (
args.length () != 0)
82 return ovl (val, msg);
95 if (
args.length () != 1)
98 double dval =
args(0).double_value ();
101 error (
"getgrgid: GID must be an integer");
103 gid_t gid =
static_cast<gid_t
> (dval);
110 return ovl (val, msg);
123 if (
args.length () != 1)
133 return ovl (val, msg);
143 if (
args.length () != 0)
151 return ovl (static_cast<double> (status), msg);
161 if (
args.length () != 0)
169 return ovl (static_cast<double> (status), msg);
static octave_value mk_gr_map(const octave::sys::group &gr)
OCTAVE_EXPORT octave_value_list isa nd deftypefn *return ovl(args(0).is_integer_type())
OCTINTERP_API void print_usage(void)
identity matrix If supplied two scalar respectively For allows like xample val
#define DEFUN(name, args_name, nargout_name, doc)
void error(const char *fmt,...)
static group getgrnam(const std::string &nm)
std::string passwd(void) const
nd deftypefn *octave_map m
std::string name(void) const
static group getgrent(void)
void assign(const std::string &k, const octave_value &val)
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)