Functions

getpwent.cc File Reference

#include <string>
#include <sys/types.h>
#include "oct-passwd.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-map.h"
#include "ov.h"
#include "oct-obj.h"
#include "utils.h"
Include dependency graph for getpwent.cc:

Go to the source code of this file.

Functions

 DEFUN_DLD (getpwent, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{pw_struct} =} getpwent ()\n\ Return a structure containing an entry from the password database,\n\ opening it if necessary. Once the end of the data has been reached,\n\ @code{getpwent} returns 0.\n\ @end deftypefn")
 DEFUN_DLD (endpwent, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} endpwent ()\n\ Close the password database.\n\ @end deftypefn")
 DEFUN_DLD (setpwent, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} setpwent ()\n\ Return the internal pointer to the beginning of the password database.\n\ @end deftypefn")
 DEFUN_DLD (getpwnam, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{pw_struct} =} getpwnam (@var{name})\n\ Return a structure containing the first entry from the password database\n\ with the user name @var{name}. If the user name does not exist in the\n\ database, @code{getpwname} returns 0.\n\ @end deftypefn")
 DEFUN_DLD (getpwuid, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {@var{pw_struct} =} getpwuid (@var{uid}).\n\ Return a structure containing the first entry from the password database\n\ with the user ID @var{uid}. If the user ID does not exist in the\n\ database, @code{getpwuid} returns 0.\n\ @end deftypefn")
static octave_value mk_pw_map (const octave_passwd &pw)

Function Documentation

DEFUN_DLD ( getpwent  ,
args   
)
DEFUN_DLD ( endpwent  ,
args   
)
DEFUN_DLD ( setpwent  ,
args   
)
DEFUN_DLD ( getpwnam  ,
args   
)
DEFUN_DLD ( getpwuid  ,
args   
)
static octave_value mk_pw_map ( const octave_passwd pw  )  [static]
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines