29 #if defined (HAVE_CONFIG_H)
33 #if defined (HAVE_PWD_H)
41 #if defined HAVE_GETPWENT
50 #if defined (HAVE_GETPWUID)
51 return getpwuid (uid);
53 octave_unused_parameter (uid);
61 #if defined (HAVE_GETPWNAM)
62 return getpwnam (nam);
64 octave_unused_parameter (nam);
72 #if defined (HAVE_SETPWENT)
80 #if defined (HAVE_ENDPWENT)
89 #if defined (HAVE_PWD_H)
92 oct_pw->
pw_uid = pw->pw_uid;
93 oct_pw->
pw_gid = pw->pw_gid;
95 oct_pw->
pw_dir = pw->pw_dir;
98 octave_unused_parameter (pw);
99 octave_unused_parameter (oct_pw);
void octave_setpwent_wrapper(void)
struct passwd * octave_getpwnam_wrapper(const char *nam)
void octave_endpwent_wrapper(void)
struct passwd * octave_getpwent_wrapper(void)
struct passwd * octave_getpwuid_wrapper(uid_t uid)
void octave_from_passwd(const struct passwd *pw, struct octave_passwd_wrapper *oct_pw)