2003-11-24 11:44:41 +07:00
|
|
|
#ifdef __KLIBC__
|
|
|
|
|
|
|
|
#ifndef KLIBC_FIXUPS_H
|
|
|
|
#define KLIBC_FIXUPS_H
|
|
|
|
|
|
|
|
struct passwd {
|
|
|
|
char *pw_name; /* user name */
|
|
|
|
char *pw_passwd; /* user password */
|
|
|
|
uid_t pw_uid; /* user id */
|
|
|
|
gid_t pw_gid; /* group id */
|
|
|
|
char *pw_gecos; /* real name */
|
|
|
|
char *pw_dir; /* home directory */
|
|
|
|
char *pw_shell; /* shell program */
|
|
|
|
};
|
|
|
|
|
2004-02-24 10:29:32 +07:00
|
|
|
struct group {
|
|
|
|
char *gr_name; /* group name */
|
|
|
|
char *gr_passwd; /* group password */
|
|
|
|
gid_t gr_gid; /* group id */
|
|
|
|
char **gr_mem; /* group members */
|
|
|
|
};
|
2003-11-24 11:44:41 +07:00
|
|
|
|
2004-02-24 10:29:32 +07:00
|
|
|
struct passwd *getpwnam(const char *name);
|
|
|
|
struct group *getgrnam(const char *name);
|
2003-11-24 11:44:41 +07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|