GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
getpwent.cc File Reference
#include <string>
#include <sys/types.h>
#include "oct-password.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 getpwent.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fendpwent (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fgetpwent (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fgetpwnam (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fgetpwuid (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fsetpwent (const octave_value_list &args, int)
 
static octave_value mk_pw_map (const sys::password &pw)
 

Function Documentation

◆ Fendpwent()

OCTAVE_EXPORT octave_value_list Fendpwent ( const octave_value_list args,
int   
)

Definition at line 166 of file getpwent.cc.

References ovl(), and print_usage().

◆ Fgetpwent()

OCTAVE_EXPORT octave_value_list Fgetpwent ( const octave_value_list args,
int   
)

Definition at line 79 of file getpwent.cc.

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

◆ Fgetpwnam()

OCTAVE_EXPORT octave_value_list Fgetpwnam ( const octave_value_list args,
int   
)

Definition at line 128 of file getpwent.cc.

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

◆ Fgetpwuid()

OCTAVE_EXPORT octave_value_list Fgetpwuid ( const octave_value_list args,
int   
)

Definition at line 100 of file getpwent.cc.

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

◆ Fsetpwent()

OCTAVE_EXPORT octave_value_list Fsetpwent ( const octave_value_list args,
int   
)

Definition at line 148 of file getpwent.cc.

References ovl(), and print_usage().

◆ mk_pw_map()

static octave_value mk_pw_map ( const sys::password &  pw)
static

Definition at line 49 of file getpwent.cc.

References m, and octave_value().

Referenced by Fgetpwent(), Fgetpwnam(), and Fgetpwuid().