#include <string>
#include <sys/types.h>
#include "oct-group.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "oct-map.h"
#include "ov.h"
#include "ovl.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Fendgrent (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fgetgrent (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fgetgrgid (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fgetgrnam (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fsetgrent (const octave_value_list &args, int) |
static octave_value | mk_gr_map (const octave::sys::group &gr) |
OCTAVE_EXPORT octave_value_list Fendgrent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 158 of file getgrent.cc.
References octave::sys::group::endgrent(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetgrent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 71 of file getgrent.cc.
References octave::sys::group::getgrent(), mk_gr_map(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetgrgid | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 92 of file getgrent.cc.
References error(), octave::sys::group::getgrgid(), mk_gr_map(), ovl(), print_usage(), and octave::math::x_nint().
OCTAVE_EXPORT octave_value_list Fgetgrnam | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 120 of file getgrent.cc.
References octave::sys::group::getgrnam(), mk_gr_map(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fsetgrent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 140 of file getgrent.cc.
References ovl(), print_usage(), and octave::sys::group::setgrent().
|
static |
Definition at line 47 of file getgrent.cc.
References octave::sys::group::gid(), m, octave::sys::group::mem(), octave::sys::group::name(), octave_value(), and octave::sys::group::passwd().
Referenced by Fgetgrent(), Fgetgrgid(), and Fgetgrnam().