GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
getgrent.cc File Reference
#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"
Include dependency graph for getgrent.cc:

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 sys::group &gr)
 

Function Documentation

◆ Fendgrent()

OCTAVE_EXPORT octave_value_list Fendgrent ( const octave_value_list args,
int   
)

Definition at line 160 of file getgrent.cc.

References ovl(), and print_usage().

◆ Fgetgrent()

OCTAVE_EXPORT octave_value_list Fgetgrent ( const octave_value_list args,
int   
)

Definition at line 73 of file getgrent.cc.

References mk_gr_map(), ovl(), and print_usage().

◆ Fgetgrgid()

OCTAVE_EXPORT octave_value_list Fgetgrgid ( const octave_value_list args,
int   
)

Definition at line 94 of file getgrent.cc.

References error(), mk_gr_map(), ovl(), print_usage(), and x_nint().

◆ Fgetgrnam()

OCTAVE_EXPORT octave_value_list Fgetgrnam ( const octave_value_list args,
int   
)

Definition at line 122 of file getgrent.cc.

References mk_gr_map(), ovl(), and print_usage().

◆ Fsetgrent()

OCTAVE_EXPORT octave_value_list Fsetgrent ( const octave_value_list args,
int   
)

Definition at line 142 of file getgrent.cc.

References ovl(), and print_usage().

◆ mk_gr_map()

static octave_value mk_gr_map ( const sys::group &  gr)
static

Definition at line 49 of file getgrent.cc.

References m, and octave_value().

Referenced by Fgetgrent(), Fgetgrgid(), and Fgetgrnam().