#include <string>
#include <sys/types.h>
#include "oct-passwd.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 | 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::sys::password &pw) |
OCTAVE_EXPORT octave_value_list Fendpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 164 of file getpwent.cc.
References octave::sys::password::endpwent(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 77 of file getpwent.cc.
References octave::sys::password::getpwent(), mk_pw_map(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwnam | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 126 of file getpwent.cc.
References octave::sys::password::getpwnam(), mk_pw_map(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fgetpwuid | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 98 of file getpwent.cc.
References error(), octave::sys::password::getpwuid(), mk_pw_map(), ovl(), print_usage(), and octave::math::x_nint().
OCTAVE_EXPORT octave_value_list Fsetpwent | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 146 of file getpwent.cc.
References ovl(), print_usage(), and octave::sys::password::setpwent().
|
static |
Definition at line 47 of file getpwent.cc.
References octave::sys::password::dir(), octave::sys::password::gecos(), octave::sys::password::gid(), m, octave::sys::password::name(), octave_value(), octave::sys::password::passwd(), retval, octave::sys::password::shell(), and octave::sys::password::uid().
Referenced by Fgetpwent(), Fgetpwnam(), and Fgetpwuid().