GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>
#include <sys/types.h>
#include "oct-passwd.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-map.h"
#include "ov.h"
#include "oct-obj.h"
#include "utils.h"
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 octave_passwd &pw) |
OCTAVE_EXPORT octave_value_list Fendpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 199 of file getpwent.cc.
References octave_passwd::endpwent(), octave_value_list::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 74 of file getpwent.cc.
References octave_passwd::getpwent(), octave_value_list::length(), mk_pw_map(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwnam | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 142 of file getpwent.cc.
References error_state, octave_passwd::getpwnam(), octave_value_list::length(), mk_pw_map(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwuid | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 102 of file getpwent.cc.
References D_NINT(), error(), error_state, octave_passwd::getpwuid(), octave_value_list::length(), mk_pw_map(), and print_usage().
OCTAVE_EXPORT octave_value_list Fsetpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 173 of file getpwent.cc.
References octave_value_list::length(), print_usage(), and octave_passwd::setpwent().
|
static |
Definition at line 44 of file getpwent.cc.
References octave_scalar_map::assign(), octave_passwd::dir(), octave_passwd::gecos(), octave_passwd::gid(), octave_passwd::name(), octave_passwd::passwd(), octave_passwd::shell(), and octave_passwd::uid().
Referenced by Fgetpwent(), Fgetpwnam(), and Fgetpwuid().